mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
13 lines
622 B
TypeScript
13 lines
622 B
TypeScript
// Type definitions for deep-extend 0.4
|
|
// Project: https://github.com/unclechu/node-deep-extend
|
|
// Definitions by: rhysd <https://github.com/rhysd>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
|
|
/** Recursive object extending. */
|
|
declare function deepExtend<T, U>(target: T, source: U): T & U;
|
|
declare function deepExtend<T, U, V>(target: T, source1: U, source2: V): T & U & V;
|
|
declare function deepExtend<T, U, V, W>(target: T, source1: U, source2: V, source3: W): T & U & V & W;
|
|
declare function deepExtend(target: any, ...sources: any[]): any;
|
|
declare namespace deepExtend {}
|
|
export = deepExtend;
|