0.14.24 • Published 6 months ago
@types/react-addons-update v0.14.24
Installation
npm install --save @types/react-addons-update
Summary
This package contains type definitions for React (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
// Type definitions for React (react-addons-update) 0.14
// Project: http://facebook.github.io/react/
// Definitions by: Asana <https://asana.com>, AssureSign <http://www.assuresign.com>, Microsoft <https://microsoft.com>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.8
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: Thu, 08 Jul 2021 20:20:23 GMT
- Dependencies: @types/react
- Global values: none
Credits
These definitions were written by Asana, AssureSign, and Microsoft.
0.14.24
6 months ago
0.14.23
7 months ago
0.14.22
8 months ago
0.14.21
3 years ago
0.14.20
6 years ago
0.14.19
6 years ago
0.14.18
7 years ago
0.14.17
7 years ago
0.14.16
7 years ago
0.14.15
7 years ago
0.14.14
8 years ago
0.14.13
8 years ago
0.14.12-alpha
8 years ago
0.14.11-alpha
8 years ago
0.14.10-alpha
8 years ago
0.14.9-alpha
8 years ago
0.14.8-alpha
8 years ago
0.14.7-alpha
8 years ago
0.14.2-alpha
8 years ago
0.14.1-alpha
8 years ago