typedux
Version:
Slightly adjusted Redux (awesome by default) for TS
18 lines • 392 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.Flag = void 0;
class Flag {
constructor(data) {
this.data = data;
this.state = { isSet: false };
}
set() {
this.state.isSet = true;
return this;
}
get isSet() {
return this.state.isSet;
}
}
exports.Flag = Flag;
//# sourceMappingURL=Flag.js.map
;