typedux
Version:
Slightly adjusted Redux (awesome by default) for TS
19 lines • 575 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.MockLeafState = void 0;
const MockConstants_1 = require("./MockConstants");
/**
* Mock leaf state, dumb test state with test props
*/
class MockLeafState {
constructor(props = {}) {
this.type = MockLeafState.Key;
// type = MockLeafState
//
this.str1 = MockConstants_1.MockStateStr1;
Object.assign(this, props);
}
}
exports.MockLeafState = MockLeafState;
MockLeafState.Key = MockConstants_1.MockKey;
//# sourceMappingURL=MockLeafState.js.map
;