@types/react-dom 19.2.3 → 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: Wed, 12 Nov 2025 04:37:38 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
@@ -33,7 +33,28 @@ import ReactDOM = require(".");
33
33
 
34
34
  export {};
35
35
 
36
+ declare const browserUsable: unique symbol;
37
+
38
+ export interface BrowserUsable {
39
+ readonly [browserUsable]: never;
40
+ }
41
+
42
+ declare module "." {
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;
51
+ }
52
+
36
53
  declare module "react" {
54
+ interface RendererUsable<T> {
55
+ "react-dom/browser": BrowserUsable;
56
+ }
57
+
37
58
  // @enableViewTransition
38
59
  interface ViewTransitionPseudoElement extends Animatable {
39
60
  getComputedStyle: () => CSSStyleDeclaration;
react-dom/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/react-dom",
3
- "version": "19.2.3",
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": "6f16aac4f50b7ebe3201fdac53a58874d2899d6108894538ade2d61fbb99f8c5",
127
- "typeScriptVersion": "5.2"
126
+ "typesPublisherContentHash": "675738f9dc712dad833f796743a262525b9fb61df92128300424f5da03e88ab2",
127
+ "typeScriptVersion": "5.6"
128
128
  }