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

    4.0.4 • Public • Published

    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.

    Keywords

    none

    Install

    npm i @types/xtend

    DownloadsWeekly Downloads

    55,303

    Version

    4.0.4

    License

    MIT

    Unpacked Size

    4.8 kB

    Total Files

    4

    Last publish

    Collaborators

    • types