UNPKG

@types/deep-extend

Version:
37 lines (31 loc) 1.25 kB
# 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](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/deep-extend/index.d.ts) ````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](https://github.com/rhysd).