UNPKG

@types/xtend

Version:
48 lines (42 loc) 1.52 kB
# 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](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/xtend/index.d.ts) ````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](https://github.com/rhysd).