4.0.6 • Published 6 months ago

@types/xtend v4.0.6

Weekly downloads
97,589
License
MIT
Repository
github
Last release
6 months ago

Installation

npm install --save @types/xtend

Summary

This package contains type definitions for xtend (https://github.com/Raynos/xtend).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/xtend.

index.d.ts

// Type definitions for xtend 4.0
// Project: https://github.com/Raynos/xtend
// Definitions by: rhysd <https://github.com/rhysd>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

interface Xtend {
    <T extends object, U extends object>(target: T, source: U): T & U;
    <T extends object, U extends object, V extends object>(target: T, source1: U, source2: V): T & U & V;
    <T extends object, U extends object, V extends object, W extends object>(
        target: T,
        source1: U,
        source2: V,
        source3: W,
    ): T & U & V & W;
    <T extends object, U extends object, V extends object, W extends object, Q extends object>(
        target: T,
        source1: U,
        source2: V,
        source3: W,
        source4: Q,
    ): T & U & V & W & Q;
    <T extends object, U extends object, V extends object, W extends object, Q extends object, R extends object>(
        target: T,
        source1: U,
        source2: V,
        source3: W,
        source4: Q,
        source5: R,
    ): T & U & V & W & Q & R;
    (target: object, ...sources: object[]): object;
}
declare const xtend: Xtend;
export = xtend;

Additional Details

  • Last updated: Thu, 07 Oct 2021 00:01:20 GMT
  • Dependencies: none
  • Global values: none

Credits

These definitions were written by rhysd.