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

0.6.2 • Public • Published

Installation

npm install --save @types/deep-extend

Summary

This package contains type definitions for deep-extend (https://github.com/unclechu/node-deep-extend).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/deep-extend.

index.d.ts

/** Recursive object extending. */
declare function deepExtend<T extends object>(target: T): T;
declare function deepExtend<T extends object, U extends object>(target: T, source: U): T & U;
declare function deepExtend<T extends object, U extends object, V extends object>(
    target: T,
    source1: U,
    source2: V,
): T & U & V;
declare function deepExtend<T extends object, U extends object, V extends object, W extends object>(
    target: T,
    source1: U,
    source2: V,
    source3: W,
): T & U & V & W;
declare function deepExtend(target: object, ...sources: object[]): object;
declare namespace deepExtend {}
export = deepExtend;

Additional Details

  • Last updated: Mon, 06 Nov 2023 22:41:05 GMT
  • Dependencies: none

Credits

These definitions were written by rhysd.

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i @types/deep-extend

      Weekly Downloads

      29,941

      Version

      0.6.2

      License

      MIT

      Unpacked Size

      3.82 kB

      Total Files

      5

      Last publish

      Collaborators

      • types