UNPKG

uinix-fp-merge

Version:
9 lines (8 loc) 221 B
/** * Deepmerge from https://github.com/TehShrike/deepmerge. * * @template X, Y * @param {Partial<X>} x * @returns {(y: Partial<Y>) => X & Y} */ export function merge<X, Y>(x: Partial<X>): (y: Partial<Y>) => X & Y;