UNPKG

339 BTypeScriptView Raw
1/**
2 * Simple deep merge function. Takes all arguments and returns a deep copy of the objects merged
3 * together in the order provided. If an object creates a circular reference, it will assign the
4 * original reference.
5 */
6export declare function merge<T = {}>(target: Partial<T>, ...args: (Partial<T> | null | undefined | false)[]): T;