history-actions
Version:
Action manager framework with undo/redo
18 lines • 516 B
JavaScript
import * as tslib_1 from "tslib";
var Action = /** @class */ (function () {
function Action() {
}
Action.prototype.redo = function () {
this.do();
};
Action.prototype.asyncDo = function () {
return tslib_1.__awaiter(this, void 0, void 0, function () {
return tslib_1.__generator(this, function (_a) {
return [2 /*return*/, this.do()];
});
});
};
return Action;
}());
export default Action;
//# sourceMappingURL=Action.js.map