Build NapCat Artifacts / Windows Loader Test (push) Canceled after 0s
Build NapCat Artifacts / Type Check & Test (push) Canceled after 0s
Build NapCat Artifacts / Build NapCat.Framework (push) Canceled after 0s
Build NapCat Artifacts / Build NapCat.Shell (push) Canceled after 0s
11 lines
451 B
Plaintext
11 lines
451 B
Plaintext
import constructor from "../types/constructor";
|
|
import { InjectionToken } from "../providers";
|
|
import Lifecycle from "../types/lifecycle";
|
|
/**
|
|
* Class decorator factory that registers the class as a scoped dependency within
|
|
* the global container.
|
|
*
|
|
* @return The class decorator
|
|
*/
|
|
export default function scoped<T>(lifecycle: Lifecycle.ContainerScoped | Lifecycle.ResolutionScoped, token?: InjectionToken<T>): (target: constructor<T>) => void;
|