@types/react 19.2.0 → 19.2.1

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: Wed, 01 Oct 2025 22:02:19 GMT
11
+ * Last updated: Mon, 06 Oct 2025 21:02:40 GMT
12
12
  * Dependencies: [csstype](https://npmjs.com/package/csstype)
13
13
 
14
14
  # Credits
react/index.d.ts CHANGED
@@ -3036,6 +3036,7 @@ declare namespace React {
3036
3036
  }
3037
3037
 
3038
3038
  interface DialogHTMLAttributes<T> extends HTMLAttributes<T> {
3039
+ closedby?: "any" | "closerequest" | "none" | undefined;
3039
3040
  onCancel?: ReactEventHandler<T> | undefined;
3040
3041
  onClose?: ReactEventHandler<T> | undefined;
3041
3042
  open?: boolean | undefined;
react/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/react",
3
- "version": "19.2.0",
3
+ "version": "19.2.1",
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
  "csstype": "^3.0.2"
206
206
  },
207
207
  "peerDependencies": {},
208
- "typesPublisherContentHash": "c9a97f0f7c3420dded9204849fbe3d4fd1a547115618e12f5801b737d9b9fa61",
208
+ "typesPublisherContentHash": "7232140fde6d2a47deb1498773132be00e6f7eee4400a4c8fdfa6da8582b5b08",
209
209
  "typeScriptVersion": "5.2"
210
210
  }
react/ts5.0/index.d.ts CHANGED
@@ -3035,6 +3035,7 @@ declare namespace React {
3035
3035
  }
3036
3036
 
3037
3037
  interface DialogHTMLAttributes<T> extends HTMLAttributes<T> {
3038
+ closedby?: "any" | "closerequest" | "none" | undefined;
3038
3039
  onCancel?: ReactEventHandler<T> | undefined;
3039
3040
  onClose?: ReactEventHandler<T> | undefined;
3040
3041
  open?: boolean | undefined;