UNPKG

ts-ioc-container

Version:

Fast, lightweight TypeScript dependency injection container with a clean API, scoped lifecycles, decorators, tokens, hooks, lazy injection, customizable providers, and no global container objects.

7 lines (6 loc) 557 B
export declare const addParamMeta: (key: string | symbol, mapFn: (prev: unknown) => unknown) => ParameterDecorator; export declare const getParamMeta: (key: string | symbol, target: object) => unknown[]; export declare const addParamLabel: (key: string, label: string) => ParameterDecorator; export declare const getParamLabels: (target: object, parameterIndex: number) => Map<string, string>; export declare const addParamTag: (tag: string) => ParameterDecorator; export declare const getParamTags: (target: object, parameterIndex: number) => Set<string>;