Installation
npm install --save @types/simple-assign
Summary
This package contains type definitions for simple-assign (https://github.com/newoga/simple-assign).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/simple-assign.
index.d.ts
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;
Additional Details
- Last updated: Tue, 07 Nov 2023 15:11:36 GMT
- Dependencies: none
Credits
These definitions were written by Ivo Stratev.