@types/react-dom 17.0.7 → 17.0.8

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, 09 Jun 2021 05:01:25 GMT
11
+ * Last updated: Fri, 18 Jun 2021 06:01:13 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
@@ -37,7 +37,13 @@ declare module '.' {
37
37
  }
38
38
 
39
39
  interface RootOptions {
40
+ /**
41
+ * @deprecated Use `hydrateRoot(container)` instead
42
+ */
40
43
  hydrate?: boolean;
44
+ /**
45
+ * @deprecated Use `hydrateRoot(container, hydrateOptions)` instead
46
+ */
41
47
  hydrationOptions?: HydrationOptions;
42
48
  }
43
49
 
@@ -52,4 +58,6 @@ declare module '.' {
52
58
  * @see https://reactjs.org/docs/concurrent-mode-reference.html#createroot
53
59
  */
54
60
  function createRoot(container: Element | Document | DocumentFragment | Comment, options?: RootOptions): Root;
61
+
62
+ function hydrateRoot(container: Element | Document | DocumentFragment | Comment, options?: HydrationOptions): Root;
55
63
  }
react-dom/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/react-dom",
3
- "version": "17.0.7",
3
+ "version": "17.0.8",
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": "1126f0839213941257a0b52c984816f3a13ac5e179c8d76686f882d31c453fcf",
52
+ "typesPublisherContentHash": "4cc8842db00c8a8ee4a599dde279d26456cf4f53e7c086e2b7ce575e9286f620",
53
53
  "typeScriptVersion": "3.6"
54
54
  }