UNPKG

codetrix

Version:

A lightweight lodash-style utility library

11 lines (10 loc) 307 B
/** * Deeply merges two or more objects into a single object. * * @param objects - The objects to merge. * @returns A new object with merged properties. * * @example * mergeObjects({ a: 1 }, { b: 2 }); // { a: 1, b: 2 } */ export declare function mergeObjects<T extends object>(...objects: T[]): T;