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) 246 B
import { ContainerError } from './ContainerError'; export declare class CannonSingletonApplyTwiceError extends ContainerError { name: string; constructor(message?: string); static assert(isTrue: boolean, failMessage: string): void; }