@types/react-dom 19.1.3 → 19.1.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 +1 -1
- react-dom/experimental.d.ts +13 -0
- react-dom/package.json +2 -2
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: Tue, 13 May 2025 10:38:36 GMT
|
12
12
|
* Dependencies: none
|
13
13
|
* Peer dependencies: [@types/react](https://npmjs.com/package/@types/react)
|
14
14
|
|
react-dom/experimental.d.ts
CHANGED
@@ -32,6 +32,9 @@ import ReactDOM = require("./canary");
|
|
32
32
|
|
33
33
|
export {};
|
34
34
|
|
35
|
+
declare const UNDEFINED_VOID_ONLY: unique symbol;
|
36
|
+
type VoidOrUndefinedOnly = void | { [UNDEFINED_VOID_ONLY]: never };
|
37
|
+
|
35
38
|
declare module "." {
|
36
39
|
}
|
37
40
|
|
@@ -71,3 +74,13 @@ declare module "react" {
|
|
71
74
|
): void;
|
72
75
|
}
|
73
76
|
}
|
77
|
+
|
78
|
+
declare module "./client" {
|
79
|
+
type TransitionIndicatorCleanup = () => VoidOrUndefinedOnly;
|
80
|
+
interface RootOptions {
|
81
|
+
onDefaultTransitionIndicator?: (() => void | TransitionIndicatorCleanup) | undefined;
|
82
|
+
}
|
83
|
+
interface HydrationOptions {
|
84
|
+
onDefaultTransitionIndicator?: (() => void | TransitionIndicatorCleanup) | undefined;
|
85
|
+
}
|
86
|
+
}
|
react-dom/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@types/react-dom",
|
3
|
-
"version": "19.1.
|
3
|
+
"version": "19.1.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",
|
@@ -88,6 +88,6 @@
|
|
88
88
|
"peerDependencies": {
|
89
89
|
"@types/react": "^19.0.0"
|
90
90
|
},
|
91
|
-
"typesPublisherContentHash": "
|
91
|
+
"typesPublisherContentHash": "8a1684fb26e8b99b1cec59dc73a6f538f51e7fb6c25e0110d94115caf867e8f9",
|
92
92
|
"typeScriptVersion": "5.1"
|
93
93
|
}
|