@types/react 18.3.3 → 18.3.4

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 CHANGED
@@ -8,7 +8,7 @@ This package contains type definitions for react (https://react.dev/).
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, 23 May 2024 20:07:44 GMT
11
+ * Last updated: Tue, 20 Aug 2024 20:36:15 GMT
12
12
  * Dependencies: [@types/prop-types](https://npmjs.com/package/@types/prop-types), [csstype](https://npmjs.com/package/csstype)
13
13
 
14
14
  # Credits
react/index.d.ts CHANGED
@@ -2428,9 +2428,9 @@ declare namespace React {
2428
2428
  // Keyboard Events
2429
2429
  onKeyDown?: KeyboardEventHandler<T> | undefined;
2430
2430
  onKeyDownCapture?: KeyboardEventHandler<T> | undefined;
2431
- /** @deprecated */
2431
+ /** @deprecated Use `onKeyUp` or `onKeyDown` instead */
2432
2432
  onKeyPress?: KeyboardEventHandler<T> | undefined;
2433
- /** @deprecated */
2433
+ /** @deprecated Use `onKeyUpCapture` or `onKeyDownCapture` instead */
2434
2434
  onKeyPressCapture?: KeyboardEventHandler<T> | undefined;
2435
2435
  onKeyUp?: KeyboardEventHandler<T> | undefined;
2436
2436
  onKeyUpCapture?: KeyboardEventHandler<T> | undefined;
react/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/react",
3
- "version": "18.3.3",
3
+ "version": "18.3.4",
4
4
  "description": "TypeScript definitions for react",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react",
6
6
  "license": "MIT",
@@ -205,6 +205,6 @@
205
205
  "@types/prop-types": "*",
206
206
  "csstype": "^3.0.2"
207
207
  },
208
- "typesPublisherContentHash": "3cc8f3bf94770c52e6e4401f9fccd98a4cf92d22ce46fe76f74f3935593928b6",
209
- "typeScriptVersion": "4.7"
208
+ "typesPublisherContentHash": "ba3791a79e7cc51baa23cc8bd3b97abbea13332ebe70a49c6ac36a1fa08f33f7",
209
+ "typeScriptVersion": "4.8"
210
210
  }
react/ts5.0/index.d.ts CHANGED
@@ -2429,9 +2429,9 @@ declare namespace React {
2429
2429
  // Keyboard Events
2430
2430
  onKeyDown?: KeyboardEventHandler<T> | undefined;
2431
2431
  onKeyDownCapture?: KeyboardEventHandler<T> | undefined;
2432
- /** @deprecated */
2432
+ /** @deprecated Use `onKeyUp` or `onKeyDown` instead */
2433
2433
  onKeyPress?: KeyboardEventHandler<T> | undefined;
2434
- /** @deprecated */
2434
+ /** @deprecated Use `onKeyUpCapture` or `onKeyDownCapture` instead */
2435
2435
  onKeyPressCapture?: KeyboardEventHandler<T> | undefined;
2436
2436
  onKeyUp?: KeyboardEventHandler<T> | undefined;
2437
2437
  onKeyUpCapture?: KeyboardEventHandler<T> | undefined;