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

4.0.6 • 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

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: Tue, 07 Nov 2023 15:11:36 GMT
  • Dependencies: none

Credits

These definitions were written by rhysd.

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i @types/xtend

      Weekly Downloads

      34,407

      Version

      4.0.6

      License

      MIT

      Unpacked Size

      4.38 kB

      Total Files

      5

      Last publish

      Collaborators

      • types