##// END OF EJS Templates
working on multi-platform support
working on multi-platform support

File last commit:

r41:eae7e609c38a di-typescript
r48:2ef1241803ee di-typescript
Show More
ValueDescriptor.ts
17 lines | 294 B | video/mp2t | TypeScriptLexer
/ src / ts / di / ValueDescriptor.ts
cin
ported IoC container to typescript...
r34 import { Descriptor } from "./interfaces";
cin
ts code cleanup, linting
r39 export class ValueDescriptor implements Descriptor {
_value;
cin
ported IoC container to typescript...
r34
cin
ts code cleanup, linting
r39 constructor(value) {
cin
ported IoC container to typescript...
r34 this._value = value;
}
cin
tests
r41 activate() {
cin
ported IoC container to typescript...
r34 return this._value;
}
cin
tests
r41
toString() {
return `@type=${typeof this._value}`;
}
cin
ts code cleanup, linting
r39 }