UNPKG

ts-bakery

Version:

Baked dependency injection for Typescript.

10 lines (9 loc) 473 B
import GenericConstructor from './ConstructorReference'; import DependencyRegistrationBuilder from './DependencyRegistrationBuilder'; import IDependencyRegistration from './IDependencyRegistration'; export default abstract class DependencyResolverModule { private builders; abstract registerDependencies(): void; buildRegistrations(): IDependencyRegistration[]; protected register<T>(constructor: GenericConstructor<T>): DependencyRegistrationBuilder<T>; }