@types/react-dom 17.0.11 → 17.0.12
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/next.d.ts +8 -6
- react-dom/package.json +3 -3
react-dom/README.md
CHANGED
@@ -8,7 +8,7 @@ This package contains type definitions for React (react-dom) (https://reactjs.or
|
|
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, 01 Mar 2022 21:01:57 GMT
|
12
12
|
* Dependencies: [@types/react](https://npmjs.com/package/@types/react)
|
13
13
|
* Global values: `ReactDOM`, `ReactDOMNodeStream`, `ReactDOMServer`
|
14
14
|
|
react-dom/next.d.ts
CHANGED
@@ -34,17 +34,19 @@ declare module '.' {
|
|
34
34
|
interface HydrationOptions {
|
35
35
|
onHydrated?(suspenseInstance: Comment): void;
|
36
36
|
onDeleted?(suspenseInstance: Comment): void;
|
37
|
+
/**
|
38
|
+
* Prefix for `useId`.
|
39
|
+
*/
|
40
|
+
identifierPrefix?: string;
|
41
|
+
onRecoverableError?: (error: unknown) => void;
|
37
42
|
}
|
38
43
|
|
39
44
|
interface RootOptions {
|
40
45
|
/**
|
41
|
-
*
|
42
|
-
*/
|
43
|
-
hydrate?: boolean | undefined;
|
44
|
-
/**
|
45
|
-
* @deprecated Use `hydrateRoot(container, hydrateOptions)` instead
|
46
|
+
* Prefix for `useId`.
|
46
47
|
*/
|
47
|
-
|
48
|
+
identifierPrefix?: string;
|
49
|
+
onRecoverableError?: (error: unknown) => void;
|
48
50
|
}
|
49
51
|
|
50
52
|
interface Root {
|
react-dom/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@types/react-dom",
|
3
|
-
"version": "17.0.
|
3
|
+
"version": "17.0.12",
|
4
4
|
"description": "TypeScript definitions for React (react-dom)",
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-dom",
|
6
6
|
"license": "MIT",
|
@@ -49,6 +49,6 @@
|
|
49
49
|
"dependencies": {
|
50
50
|
"@types/react": "*"
|
51
51
|
},
|
52
|
-
"typesPublisherContentHash": "
|
53
|
-
"typeScriptVersion": "3.
|
52
|
+
"typesPublisherContentHash": "fc946accda3e64332162436943cb68c5ac37f9e9bff0c3b25bf706e0e5ab2b4a",
|
53
|
+
"typeScriptVersion": "3.9"
|
54
54
|
}
|