##// END OF EJS Templates
working on IoC configuration
working on IoC configuration

File last commit:

r113:22cf333c0b34 ioc ts support
r114:475b8ce3e850 ioc ts support
Show More
ValueDescriptor.ts
17 lines | 306 B | video/mp2t | TypeScriptLexer
/ src / main / ts / di / ValueDescriptor.ts
import { Descriptor } from "./interfaces";
export class ValueDescriptor<T> implements Descriptor<T> {
_value: T;
constructor(value: T) {
this._value = value;
}
activate() {
return this._value;
}
toString() {
return `@type=${typeof this._value}`;
}
}