UNPKG

inversify

Version:

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

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