@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 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: Wed, 03 Nov 2021 07:01:20 GMT
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
- * @deprecated Use `hydrateRoot(container)` instead
42
- */
43
- hydrate?: boolean | undefined;
44
- /**
45
- * @deprecated Use `hydrateRoot(container, hydrateOptions)` instead
46
+ * Prefix for `useId`.
46
47
  */
47
- hydrationOptions?: HydrationOptions | undefined;
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.11",
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": "c2047268b79bc6da2c7f1916f66a3a23657cdb47b42eada605c1ce645e863099",
53
- "typeScriptVersion": "3.7"
52
+ "typesPublisherContentHash": "fc946accda3e64332162436943cb68c5ac37f9e9bff0c3b25bf706e0e5ab2b4a",
53
+ "typeScriptVersion": "3.9"
54
54
  }