UNPKG

@bookbox/core

Version:

Bookbox — e-book format

8 lines (7 loc) 327 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.getPartialApply = void 0; function getPartialApply(f, args) { return (...p) => { var _a; return f(Object.assign(Object.assign({}, ((_a = p[0]) !== null && _a !== void 0 ? _a : {})), args)); }; } exports.getPartialApply = getPartialApply;