##// END OF EJS Templates
minor refactoring of TraceSource, code linting
minor refactoring of TraceSource, code linting

File last commit:

r49:1a91da7b15f7 di-typescript
r53:5fd4258909e8 di-typescript
Show More
ValueDescriptor.ts
17 lines | 294 B | video/mp2t | TypeScriptLexer
/ src / main / ts / di / ValueDescriptor.ts
import { Descriptor } from "./interfaces";
export class ValueDescriptor implements Descriptor {
_value;
constructor(value) {
this._value = value;
}
activate() {
return this._value;
}
toString() {
return `@type=${typeof this._value}`;
}
}