# @types/react-addons-update

> TypeScript definitions for react-addons-update

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

## Install

```sh
npm install @types/react-addons-update
pnpm add @types/react-addons-update
yarn add @types/react-addons-update
bun add @types/react-addons-update
```

## 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; pre 1.0.

Negative: abandoned.

## Facts

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

## Links

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

## Dependencies (1)

- [@types/react](https://npm.io/package/@types/react.md) *

## Recent versions

- 0.14.24 (latest) — 2023-11-07
- 0.14.21 (ts3.6) — 2021-07-08
- 0.14.20 (ts2.8) — 2018-08-06
- 0.14.19 (ts2.6) — 2018-02-12
- 0.14.18 (ts2.3) — 2017-06-23
- 0.14.17 (ts2.1) — 2017-06-16
- 0.14.15 (ts2.0) — 2016-12-30
- 0.14.23 — 2023-10-18
- 0.14.22 — 2023-09-27
- 0.14.16 — 2017-01-23
- 0.14.14 — 2016-09-19
- 0.14.13 — 2016-07-14
- 0.14.12-alpha — 2016-07-08
- 0.14.11-alpha — 2016-07-04
- 0.14.10-alpha — 2016-07-02
- … 5 more at https://npm.io/package/@types/react-addons-update/versions

## README

# Installation
> `npm install --save @types/react-addons-update`

# Summary
This package contains type definitions for react-addons-update (http://facebook.github.io/react/).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-addons-update.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-addons-update/index.d.ts)
````ts
import * as React from "react";

export = React.__Addons.update;

declare module "react" {
    interface UpdateSpecCommand {
        $set?: any;
        $merge?: {} | undefined;
        $apply?(value: any): any;
    }

    interface UpdateSpecPath {
        [key: string]: UpdateSpec;
    }

    type UpdateSpec = number[][] | UpdateSpecCommand | UpdateSpecPath;

    interface UpdateArraySpec extends UpdateSpecCommand {
        $push?: any[] | undefined;
        $unshift?: any[] | undefined;
        $splice?: any[][] | undefined;
    }

    namespace __Addons {
        export function update(value: any[], spec: UpdateArraySpec): any[];
        export function update(value: {}, spec: UpdateSpec): any;
    }
}

````

### Additional Details
 * Last updated: Tue, 07 Nov 2023 09:09:39 GMT
 * Dependencies: [@types/react](https://npmjs.com/package/@types/react)

# Credits
These definitions were written by [Asana](https://asana.com), [AssureSign](http://www.assuresign.com), and [Microsoft](https://microsoft.com).

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