UNPKG

@nestjs/common

Version:

Nest - modern, fast, powerful node.js web framework (@common)

6 lines (5 loc) 265 B
/** * Injects provider which has to be available in the current injector (module) scope. * Providers are recognized by either types or tokens. */ export declare function Inject<T = any>(token?: T): (target: Object, key: string | symbol, index?: number) => void;