UNPKG

oo-redux-utils2

Version:
16 lines 479 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); class AbstractAction { constructor(stateNamespace) { this.stateNamespace = stateNamespace; this.actionClassName = this.constructor.name; } performAction(action, currentState) { return action.perform(currentState); } getStateNamespace() { return this.stateNamespace; } } exports.default = AbstractAction; //# sourceMappingURL=AbstractAction.js.map