UNPKG

581 BTypeScriptView Raw
1import { Factory } from './factory';
2import { RegistryReader } from './registry';
3import { Resolver } from './resolver';
4export default class Container {
5 private _registry;
6 private _resolver;
7 private _lookups;
8 private _factoryDefinitionLookups;
9 constructor(registry: RegistryReader, resolver?: Resolver);
10 factoryFor(specifier: string): Factory<any>;
11 lookup(specifier: string): any;
12 defaultInjections(specifier: string): object;
13 teardown(): void;
14 defaultTeardown(instance: any): void;
15 private buildInjections;
16 private buildFactory;
17}