@types/xtend
@types/xtend
npm i @types/xtend
@types/xtend

@types/xtend

The repository for high quality TypeScript type definitions.

by DefinitelyTyped

4.0.4 (see all)License:MITTypeScript:Built-In
npm i @types/xtend
Readme

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.

Downloads/wk

45.8K

GitHub Stars

41K

LAST COMMIT

7mos ago

MAINTAINERS

1

CONTRIBUTORS

17,572

OPEN ISSUES

636

OPEN PRs

224
VersionTagPublished
4.0.4
latest
1yr ago
4.0.4
ts4.7
1yr ago
4.0.4
ts4.6
1yr ago
4.0.4
ts4.8
1yr ago
No alternatives found
No tutorials found
Add a tutorial

Rate & Review

100
No reviews found
Be the first to rate