UNPKG

typedux

Version:

Slightly adjusted Redux (awesome by default) for TS

15 lines 408 B
import { MockKey, MockStateStr1 } from "./MockConstants"; /** * Mock leaf state, dumb test state with test props */ export class MockLeafState { constructor(props = {}) { this.type = MockLeafState.Key; // type = MockLeafState // this.str1 = MockStateStr1; Object.assign(this, props); } } MockLeafState.Key = MockKey; //# sourceMappingURL=MockLeafState.js.map