Type alias Container

Container: {
    bindFactory<T>(token: Token<T>, factory: ((container: Container) => T), options?: FactoryOptions<T>): void;
    bindValue<T>(token: Token<T>, value: T): void;
    get<T>(token: Token<T>): undefined | T;
    hasToken(token: Token<unknown>): boolean;
    remove<T>(token: Token<T>): void;
    removeAll(): void;
    resolve<T>(token: Token<T>): T;
}

Dependency container.

Type declaration

Generated using TypeDoc