Press n or j to go to the next uncovered block, b, p or k for the previous block.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); function toggle(onState, offState, eventType) { var _a, _b, _c; return _a = {}, _a[onState] = { on: (_b = {}, _b[eventType] = offState, _b) }, _a[offState] = { on: (_c = {}, _c[eventType] = onState, _c) }, _a; } exports.toggle = toggle; |