UNPKG

705 BTypeScriptView Raw
1// Type definitions for xtend 4.0.1
2// Project: https://github.com/Raynos/xtend
3// Definitions by: rhysd <https://rhysd.github.io>
4// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
5
6interface Xtend {
7 <T, U>(target: T, source: U): T & U;
8 <T, U, V>(target: T, source1: U, source2: V): T & U & V;
9 <T, U, V, W>(target: T, source1: U, source2: V, source3: W): T & U & V & W;
10 <T, U, V, W, Q>(target: T, source1: U, source2: V, source3: W, source4: Q): T & U & V & W & Q;
11 <T, U, V, W, Q, R>(target: T, source1: U, source2: V, source3: W, source4: Q, source5: R): T & U & V & W & Q & R;
12 (target: any, ...sources: any[]): any;
13}
14declare const xtend: Xtend;
15export = xtend;