UNPKG

inversify

Version:

A powerful and lightweight inversion of control container for JavaScript and Node.js apps powered by TypeScript.

8 lines (7 loc) 346 B
import { interfaces } from "../interfaces/interfaces"; export declare type ServiceIdentifierOrFunc<T> = interfaces.ServiceIdentifier<T> | LazyServiceIdentifer<T>; export declare class LazyServiceIdentifer<T = unknown> { private _cb; constructor(cb: () => interfaces.ServiceIdentifier<T>); unwrap(): interfaces.ServiceIdentifier<T>; }