npm.io
0.1.7 • Published 2 years ago

@types/simple-assign

Licence
MIT
Version
0.1.7
Deps
0
Size
4 kB
Vulns
0
Weekly
0
Stars
51.4K

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 1536 GMT
  • Dependencies: none

Credits

These definitions were written by Ivo Stratev.