123456789101112131415 |
- "use strict";
- Object.defineProperty(exports, "__esModule", {
- value: true
- });
- var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
- var typedAction = exports.typedAction = function typedAction(type, fn) {
- var result = function result() {
- return _extends({}, fn.apply(undefined, arguments), { type: type });
- };
- result.TYPE = type;
- return result;
- };
|