UNPKG

323 BTypeScriptView Raw
1/**
2 * The "@inject" decorator uses Reflection to inspect the dependencies of a class
3 * or a method and defines them as metaData on the class for the container to
4 * discover them.
5 */
6export declare function inject(): {
7 <C extends Function>(target: C): void;
8 (target: any, propertyKey: string | symbol): void;
9};