@types/react-dom 19.2.4 → 19.2.5

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-dom/README.md CHANGED
@@ -8,7 +8,7 @@ This package contains type definitions for react-dom (https://react.dev/).
8
8
  Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-dom.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Thu, 30 Jul 2026 21:50:54 GMT
11
+ * Last updated: Sun, 23 Aug 2026 21:04:18 GMT
12
12
  * Dependencies: none
13
13
  * Peer dependencies: [@types/react](https://npmjs.com/package/@types/react)
14
14
 
react-dom/canary.d.ts CHANGED
@@ -40,7 +40,14 @@ export interface BrowserUsable {
40
40
  }
41
41
 
42
42
  declare module "." {
43
- function browser(): BrowserUsable;
43
+ /**
44
+ * Creates an opaque Usable that opts a subtree into browser-only rendering.
45
+ * `reason` is diagnostic metadata: an SSR renderer uses it as the `cause` of
46
+ * the recoverable error it reports when deferring the subtree to the browser.
47
+ * A function is called lazily by that renderer; in the browser the reason is
48
+ * never observed.
49
+ */
50
+ function browser(reason?: string | (() => unknown)): BrowserUsable;
44
51
  }
45
52
 
46
53
  declare module "react" {
react-dom/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/react-dom",
3
- "version": "19.2.4",
3
+ "version": "19.2.5",
4
4
  "description": "TypeScript definitions for react-dom",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-dom",
6
6
  "license": "MIT",
@@ -123,6 +123,6 @@
123
123
  "peerDependencies": {
124
124
  "@types/react": "^19.2.0"
125
125
  },
126
- "typesPublisherContentHash": "bc57236d5897342b3461d50419a2115be1390c6f9bba71ee3d8acde858a4e48e",
126
+ "typesPublisherContentHash": "675738f9dc712dad833f796743a262525b9fb61df92128300424f5da03e88ab2",
127
127
  "typeScriptVersion": "5.6"
128
128
  }