updux/dist/buildMutations/test.js
Yanick Champoux 1642bab09a build
2019-10-29 11:34:53 -04:00

13 lines
451 B
JavaScript

"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