13 lines
451 B
JavaScript
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
|