Installation
npm install --save @types/object-assign
Summary
This package contains type definitions for object-assign (https://github.com/sindresorhus/object-assign).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/object-assign.
index.d.ts
declare function objectAssign<T, U>(target: T, source: U): T & U;
declare function objectAssign<T, U, V>(target: T, source1: U, source2: V): T & U & V;
declare function objectAssign<T, U, V, W>(target: T, source1: U, source2: V, source3: W): T & U & V & W;
declare function objectAssign<T, U, V, W, Q>(
target: T,
source1: U,
source2: V,
source3: W,
source4: Q,
): T & U & V & W & Q;
declare 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;
declare function objectAssign(target: any, ...sources: any[]): any;
declare namespace objectAssign {}
export = objectAssign;
Additional Details
- Last updated: Tue, 07 Nov 2023 09:09:39 GMT
- Dependencies: none
Credits
These definitions were written by Christopher Brown.