container-ioc
Version:
Dependency Injection and Inversion of Control (IoC) container
5 lines (4 loc) • 313 B
TypeScript
import { ProviderToken } from './interfaces';
export declare function Injectable(injections?: ProviderToken[]): (target: object) => void;
export declare const Component: typeof Injectable;
export declare function Inject(token: any): (target: object, propertyKey: string | symbol, parameterIndex: number) => void;