UNPKG

@cookbook/dot-notation

Version:

Object readings and complex transformations using dot notation syntax.

8 lines (7 loc) 161 B
/** * Merge property from two objects * @param x * @param y */ declare const merge: <X, Y = X>(x: Partial<X>, y: Partial<Y>) => X & Y; export default merge;