##// END OF EJS Templates
Initial work on typescript support for the container configuration
Initial work on typescript support for the container configuration

File last commit:

r107:3725cefc8f98 ioc ts support
r107:3725cefc8f98 ioc ts support
Show More
Annotations.ts
11 lines | 317 B | video/mp2t | TypeScriptLexer
import { Constructor } from "../interfaces";
export interface InjectOptions {
lazy?: boolean;
}
export function inject<I extends { [name in keyof I]: (v: any) => void } >(dependency: string) {
return <M extends keyof I>(target: any, memberName: M, descriptor: TypedPropertyDescriptor<I[M]> ) => {
};
}