##// END OF EJS Templates
Minor fixes and improvements...
Minor fixes and improvements - added `isCancellable` type predicate function to `safe` module - `isString, isNumber, isInteger, isPrimitive` are now type predicates

File last commit:

r49:1a91da7b15f7 di-typescript
r71:600f0201c4ba v1.2.16 default
Show More
ValueDescriptor.ts
17 lines | 294 B | video/mp2t | TypeScriptLexer
/ src / main / ts / di / ValueDescriptor.ts
cin
changed the project structure
r49 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}`;
}
}