@appsemble/node-utils
Version:
NodeJS utilities used by Appsemble internally.
10 lines (9 loc) • 350 B
TypeScript
/**
* Calls Lodash’s mergeWith function
* but with a comparator function provided to merge any string leaves if they are truthy.
*
* @param object The base object to merge.
* @param otherArgs A list of objects to merge.
* @returns The resulting merged object.
*/
export declare function mergeMessages(object: any, ...otherArgs: any[]): any;