UNPKG

901 BTypeScriptView Raw
1// Type definitions for object-assign 4.0.1
2// Project: https://github.com/sindresorhus/object-assign
3// Definitions by: Christopher Brown <https://github.com/chbrown>
4// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
5
6
7declare function objectAssign<T, U>(target: T, source: U): T & U;
8declare function objectAssign<T, U, V>(target: T, source1: U, source2: V): T & U & V;
9declare function objectAssign<T, U, V, W>(target: T, source1: U, source2: V, source3: W): T & U & V & W;
10declare function objectAssign<T, U, V, W, Q>(target: T, source1: U, source2: V, source3: W, source4: Q): T & U & V & W & Q;
11declare function objectAssign<T, U, V, W, Q, R>(target: T, source1: U, source2: V, source3: W, source4: Q, source5: R): T & U & V & W & Q & R;
12declare function objectAssign(target: any, ...sources: any[]): any;
13declare namespace objectAssign { }
14export = objectAssign;