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.

5 lines (4 loc) 309 B
export declare function isProxy(value: object): boolean; export declare function getProxyTarget<T extends object>(value: T): T; export declare function lazyProxy<T extends object>(resolveInstance: () => T): T; export declare function toLazyIf<T extends object>(resolveInstance: () => T, isLazy?: boolean): T;