@types/react 17.0.39 → 17.0.40

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.
Files changed (3) hide show
  1. react/README.md +1 -1
  2. react/index.d.ts +2 -0
  3. react/package.json +3 -3
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: Thu, 03 Feb 2022 14:01:28 GMT
11
+ * Last updated: Thu, 10 Mar 2022 06:01:44 GMT
12
12
  * Dependencies: [@types/csstype](https://npmjs.com/package/@types/csstype), [@types/prop-types](https://npmjs.com/package/@types/prop-types), [@types/scheduler](https://npmjs.com/package/@types/scheduler)
13
13
  * Global values: `React`
14
14
 
react/index.d.ts CHANGED
@@ -1394,7 +1394,9 @@ declare namespace React {
1394
1394
  // Keyboard Events
1395
1395
  onKeyDown?: KeyboardEventHandler<T> | undefined;
1396
1396
  onKeyDownCapture?: KeyboardEventHandler<T> | undefined;
1397
+ /** @deprecated */
1397
1398
  onKeyPress?: KeyboardEventHandler<T> | undefined;
1399
+ /** @deprecated */
1398
1400
  onKeyPressCapture?: KeyboardEventHandler<T> | undefined;
1399
1401
  onKeyUp?: KeyboardEventHandler<T> | undefined;
1400
1402
  onKeyUpCapture?: KeyboardEventHandler<T> | undefined;
react/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/react",
3
- "version": "17.0.39",
3
+ "version": "17.0.40",
4
4
  "description": "TypeScript definitions for React",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react",
6
6
  "license": "MIT",
@@ -146,6 +146,6 @@
146
146
  "@types/scheduler": "*",
147
147
  "csstype": "^3.0.2"
148
148
  },
149
- "typesPublisherContentHash": "2502bab5b8da6320218d069a439c8f59094f51037715ad51da9d4ced528d954f",
150
- "typeScriptVersion": "3.8"
149
+ "typesPublisherContentHash": "41af2d2aecf23e961c474c9ea078372f475aab83799fd8155ad7447b68ecaca6",
150
+ "typeScriptVersion": "3.9"
151
151
  }