0.6.2 • Published 6 months ago

@types/deep-extend v0.6.2

Weekly downloads
93,418
License
MIT
Repository
github
Last release
6 months ago

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

// Type definitions for deep-extend 0.4
// Project: https://github.com/unclechu/node-deep-extend
// Definitions by: rhysd <https://github.com/rhysd>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

/** Recursive object extending. */
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: Tue, 05 Oct 2021 23:31:18 GMT
  • Dependencies: none
  • Global values: none

Credits

These definitions were written by rhysd.