ts-bakery
Version:
Baked dependency injection for Typescript.
12 lines (11 loc) • 532 B
TypeScript
export default class DecoratorRegistry {
private static injects;
private static postInjects;
private static postResolves;
static registerForInject(target: any, propertyKey: string): void;
static registerForPostInject(target: any, propertyKey: string): void;
static registerForPostResolve(target: any, propertyKey: string): void;
static getInjectMethod(constr: Function): Function;
static getPostInjectMethod(constr: Function): Function;
static getPostResolveMethod(constr: Function): Function;
}