forked from DefinitelyTyped/DefinitelyTyped
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathobject-assign.d.ts
15 lines (14 loc) · 881 Bytes
/
object-assign.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Type definitions for object-assign 4.0.1
// Project: https://github.com/sindresorhus/object-assign
// Definitions by: Christopher Brown <https://github.com/chbrown>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
declare module "object-assign" {
function objectAssign<T, U>(target: T, source: U): T & U;
function objectAssign<T, U, V>(target: T, source1: U, source2: V): T & U & V;
function objectAssign<T, U, V, W>(target: T, source1: U, source2: V, source3: W): T & U & V & W;
function objectAssign<T, U, V, W, Q>(target: T, source1: U, source2: V, source3: W, source4: Q): T & U & V & W & Q;
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;
function objectAssign(target: any, ...sources: any[]): any;
namespace objectAssign { }
export = objectAssign;
}