updux/dist/buildMutations/test.js

13 lines
451 B
JavaScript
Raw Normal View History

2019-10-29 15:34:53 +00:00
"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const _1 = __importDefault(require("."));
const actions = {
multiply: (factor) => ({ factor }),
};
const mutations = _1.default({
multiply: ({ factor }) => ({ counter }) => factor * counter,
});
//# sourceMappingURL=test.js.map