@types/react 16.9.45 → 16.9.46
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- react/README.md +1 -1
- react/index.d.ts +2 -0
- react/package.json +2 -2
react/README.md
CHANGED
@@ -8,7 +8,7 @@ This package contains type definitions for React (http://facebook.github.io/reac
|
|
8
8
|
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react.
|
9
9
|
|
10
10
|
### Additional Details
|
11
|
-
* Last updated:
|
11
|
+
* Last updated: Mon, 10 Aug 2020 14:26:39 GMT
|
12
12
|
* Dependencies: [@types/csstype](https://npmjs.com/package/@types/csstype), [@types/prop-types](https://npmjs.com/package/@types/prop-types)
|
13
13
|
* Global values: `React`
|
14
14
|
|
react/index.d.ts
CHANGED
@@ -1200,6 +1200,7 @@ declare namespace React {
|
|
1200
1200
|
|
1201
1201
|
interface KeyboardEvent<T = Element> extends SyntheticEvent<T, NativeKeyboardEvent> {
|
1202
1202
|
altKey: boolean;
|
1203
|
+
/** @deprecated */
|
1203
1204
|
charCode: number;
|
1204
1205
|
ctrlKey: boolean;
|
1205
1206
|
/**
|
@@ -1210,6 +1211,7 @@ declare namespace React {
|
|
1210
1211
|
* See the [DOM Level 3 Events spec](https://www.w3.org/TR/uievents-key/#named-key-attribute-values). for possible values
|
1211
1212
|
*/
|
1212
1213
|
key: string;
|
1214
|
+
/** @deprecated */
|
1213
1215
|
keyCode: number;
|
1214
1216
|
locale: string;
|
1215
1217
|
location: number;
|
react/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@types/react",
|
3
|
-
"version": "16.9.
|
3
|
+
"version": "16.9.46",
|
4
4
|
"description": "TypeScript definitions for React",
|
5
5
|
"license": "MIT",
|
6
6
|
"contributors": [
|
@@ -144,6 +144,6 @@
|
|
144
144
|
"@types/prop-types": "*",
|
145
145
|
"csstype": "^3.0.2"
|
146
146
|
},
|
147
|
-
"typesPublisherContentHash": "
|
147
|
+
"typesPublisherContentHash": "77d149cb3e20a6ccc396fe24a2912fa8353defe3c88322c173f540ba11e9c665",
|
148
148
|
"typeScriptVersion": "3.0"
|
149
149
|
}
|