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
13 lines
414 B
Plaintext
13 lines
414 B
Plaintext
import constructor from "../types/constructor";
|
|
import InjectionToken from "../providers/injection-token";
|
|
/**
|
|
* Class decorator factory that allows the class' dependencies to be injected
|
|
* at runtime.
|
|
*
|
|
* @return {Function} The class decorator
|
|
*/
|
|
declare function injectable<T>(options?: {
|
|
token?: InjectionToken<T> | InjectionToken<T>[];
|
|
}): (target: constructor<T>) => void;
|
|
export default injectable;
|