1 | // Type definitions for deep-extend 0.4
|
2 | // Project: https://github.com/unclechu/node-deep-extend
|
3 | // Definitions by: rhysd <https://github.com/rhysd>
|
4 | // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
5 |
|
6 | /** Recursive object extending. */
|
7 | declare function deepExtend<T, U>(target: T, source: U): T & U;
|
8 | declare function deepExtend<T, U, V>(target: T, source1: U, source2: V): T & U & V;
|
9 | declare function deepExtend<T, U, V, W>(target: T, source1: U, source2: V, source3: W): T & U & V & W;
|
10 | declare function deepExtend(target: any, ...sources: any[]): any;
|
11 | declare namespace deepExtend {}
|
12 | export = deepExtend;
|