# @types/extend

> TypeScript definitions for extend

Latest version **3.0.4** (published 2023-11-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install @types/extend
pnpm add @types/extend
yarn add @types/extend
bun add @types/extend
```

## Health

**Score 45/100 (D)** — status: abandoned.

Positive: has types; no vulnerabilities; high maintenance score; popular repo; extremely popular.

Warnings: low downloads; no esm support.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 3.0.4 |
| Published | 2023-11-07 |
| First published | 2016-05-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 4.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51437 |
| Maintainers | types |

## Links

- npm: https://www.npmjs.com/package/@types/extend
- Repository: https://github.com/DefinitelyTyped/DefinitelyTyped
- Homepage: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/extend
- npm.io page: https://npm.io/package/@types/extend

## Recent versions

- 3.0.4 (latest) — 2023-11-07
- 3.0.1 (ts2.0) — 2019-02-13
- 3.0.3 — 2023-10-18
- 3.0.2 — 2023-09-23
- 3.0.0 — 2017-10-09
- 2.0.30 — 2016-09-19
- 2.0.29 — 2016-07-14
- 2.0.28-alpha — 2016-07-08
- 2.0.27-alpha — 2016-07-04
- 2.0.26-alpha — 2016-07-02
- 2.0.25-alpha — 2016-07-01
- 2.0.24-alpha — 2016-07-01
- 2.0.23-alpha — 2016-05-25
- 2.0.22-alpha — 2016-05-20
- 2.0.17-alpha — 2016-05-19
- … 1 more at https://npm.io/package/@types/extend/versions

## README

# Installation
> `npm install --save @types/extend`

# Summary
This package contains type definitions for extend (https://github.com/justmoon/node-extend).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/extend.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/extend/index.d.ts)
````ts
declare function extend<T, U>(deep: boolean, target: T, source: U): T & U;
declare function extend<T, U, V>(deep: boolean, target: T, source1: U, source2: V): T & U & V;
declare function extend<T, U, V, W>(deep: boolean, target: T, source1: U, source2: V, source3: W): T & U & V & W;
declare function extend<T, U, V, W, X>(
    deep: boolean,
    target: T,
    source1: U,
    source2: V,
    source3: W,
    source4: X,
): T & U & V & W & X;
declare function extend<T, U>(target: T, source: U): T & U;
declare function extend<T, U, V>(target: T, source1: U, source2: V): T & U & V;
declare function extend<T, U, V, W>(target: T, source1: U, source2: V, source3: W): T & U & V & W;
declare function extend<T, U, V, W, X>(target: T, source1: U, source2: V, source3: W, source4: X): T & U & V & W & X;
declare function extend(deep: boolean, target: any, ...sources: any[]): any;
declare function extend(target: any, ...sources: any[]): any;
declare namespace extend {}
export = extend;

````

### Additional Details
 * Last updated: Tue, 07 Nov 2023 03:09:37 GMT
 * Dependencies: none

# Credits
These definitions were written by [Stefan Steinhart](https://github.com/reppners).

---
_Source: https://npm.io/package/@types/extend · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
