@inversifyjs/common
Version:
InversifyJs common utils
11 lines • 512 B
TypeScript
import { ServiceIdentifier } from './ServiceIdentifier';
declare const islazyServiceIdentifierSymbol: unique symbol;
export declare class LazyServiceIdentifier<TInstance = unknown> {
#private;
[islazyServiceIdentifierSymbol]: true;
constructor(buildServiceId: () => ServiceIdentifier<TInstance>);
static is<TInstance = unknown>(value: unknown): value is LazyServiceIdentifier<TInstance>;
unwrap(): ServiceIdentifier<TInstance>;
}
export {};
//# sourceMappingURL=LazyServiceIdentifier.d.ts.map