mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-22 20:37:58 +08:00
Templating type definition
This commit is contained in:
5
object-assign/object-assign.d.ts
vendored
5
object-assign/object-assign.d.ts
vendored
@@ -4,6 +4,11 @@
|
||||
// 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: T): T & U & V & W & Q & R;
|
||||
function objectAssign(target: any, ...sources: any[]): any;
|
||||
export = objectAssign;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user