@types/react-dom 19.2.3 → 19.2.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-dom/README.md +1 -1
- react-dom/canary.d.ts +14 -0
- react-dom/package.json +3 -3
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:
|
|
11
|
+
* Last updated: Thu, 30 Jul 2026 21:50:54 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,21 @@ 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
|
+
function browser(): BrowserUsable;
|
|
44
|
+
}
|
|
45
|
+
|
|
36
46
|
declare module "react" {
|
|
47
|
+
interface RendererUsable<T> {
|
|
48
|
+
"react-dom/browser": BrowserUsable;
|
|
49
|
+
}
|
|
50
|
+
|
|
37
51
|
// @enableViewTransition
|
|
38
52
|
interface ViewTransitionPseudoElement extends Animatable {
|
|
39
53
|
getComputedStyle: () => CSSStyleDeclaration;
|
react-dom/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/react-dom",
|
|
3
|
-
"version": "19.2.
|
|
3
|
+
"version": "19.2.4",
|
|
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": "
|
|
127
|
-
"typeScriptVersion": "5.
|
|
126
|
+
"typesPublisherContentHash": "bc57236d5897342b3461d50419a2115be1390c6f9bba71ee3d8acde858a4e48e",
|
|
127
|
+
"typeScriptVersion": "5.6"
|
|
128
128
|
}
|