UNPKG

alpha-dic

Version:

Asynchronous dependency injection container

7 lines (6 loc) 337 B
import { ContainerArg } from "../args/ContainerArg"; import 'reflect-metadata'; import { ServiceName } from "../types"; import { TypeRef } from "../TypeRef"; export declare function Inject(ref: ServiceName | ContainerArg | Function | TypeRef): ParameterDecorator & PropertyDecorator; export declare function Inject(): PropertyDecorator;