redux-typed-kit
Version:
Powerful extensitions for building class-based Redux architecture powered by TypeScript.
12 lines • 347 B
JavaScript
var State = /** @class */ (function () {
function State() {
}
State.prototype.rebuild = function (action) {
var clone = Object.assign(Object.create(Object.getPrototypeOf(this)), this);
action(clone);
return clone;
};
return State;
}());
export default State;
//# sourceMappingURL=state.js.map