@types/react-dom 17.0.10 → 17.0.11

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, 20 Oct 2021 09:31:23 GMT
11
+ * Last updated: Wed, 03 Nov 2021 07:01:20 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
@@ -48,7 +48,7 @@ declare module '.' {
48
48
  }
49
49
 
50
50
  interface Root {
51
- render(children: React.ReactChild | React.ReactNodeArray): void;
51
+ render(children: React.ReactChild | Iterable<React.ReactNode>): void;
52
52
  unmount(): void;
53
53
  }
54
54
 
@@ -59,5 +59,9 @@ declare module '.' {
59
59
  */
60
60
  function createRoot(container: Element | Document | DocumentFragment | Comment, options?: RootOptions): Root;
61
61
 
62
- function hydrateRoot(container: Element | Document | DocumentFragment | Comment, options?: HydrationOptions): Root;
62
+ function hydrateRoot(
63
+ container: Element | Document | DocumentFragment | Comment,
64
+ initialChildren: React.ReactChild | Iterable<React.ReactNode>,
65
+ options?: HydrationOptions,
66
+ ): Root;
63
67
  }
react-dom/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/react-dom",
3
- "version": "17.0.10",
3
+ "version": "17.0.11",
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": "c1a92bea3bf8f276d05855f606108992f2d18a1be2319acd869f8fc298bccb1b",
52
+ "typesPublisherContentHash": "c2047268b79bc6da2c7f1916f66a3a23657cdb47b42eada605c1ce645e863099",
53
53
  "typeScriptVersion": "3.7"
54
54
  }