mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-22 11:57:33 +08:00
12 lines
838 B
TypeScript
12 lines
838 B
TypeScript
// Type definitions for simple-assign 0.1.0
|
|
// Project: https://github.com/newoga/simple-assign
|
|
// Definitions by: Ivo Stratev <https://github.com/NoHomey>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
|
|
declare function simpleAssign<T, U>(target: T, source: U): T & U;
|
|
declare function simpleAssign<T, U, V>(target: T, source1: U, source2: V): T & U & V;
|
|
declare function simpleAssign<T, U, V, W>(target: T, source1: U, source2: V, source3: W): T & U & V & W;
|
|
declare function simpleAssign<T, U, V, W, Q>(target: T, source1: U, source2: V, source3: W, source4: Q): T & U & V & W & Q;
|
|
declare function simpleAssign<T, U, V, W, Q, R>(target: T, source1: U, source2: V, source3: W, source4: Q, source5: R): T & U & V & W & Q & R;
|
|
declare function simpleAssign(target: any, ...sources: any[]): any;
|
|
export = simpleAssign; |