@types/object-assign
TypeScript icon, indicating that this package has built-in type declarations

4.0.33 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/object-assign

Weekly Downloads

214,544

Version

4.0.33

License

MIT

Unpacked Size

3.98 kB

Total Files

5

Last publish

Collaborators

  • types