UNPKG

443 BTypeScriptView Raw
1import { Token } from '../token.class';
2import { Constructable } from '../types/constructable.type';
3/**
4 * Injects a service into a class property or constructor parameter.
5 */
6export declare function Inject(): Function;
7export declare function Inject(typeFn: (type?: never) => Constructable<unknown>): Function;
8export declare function Inject(serviceName?: string): Function;
9export declare function Inject(token: Token<unknown>): Function;