@types/react-dom 18.0.2 → 18.0.3

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: Thu, 21 Apr 2022 18:01:42 GMT
11
+ * Last updated: Thu, 28 Apr 2022 23:31:45 GMT
12
12
  * Dependencies: [@types/react](https://npmjs.com/package/@types/react)
13
13
  * Global values: `ReactDOM`, `ReactDOMServer`
14
14
 
react-dom/client.d.ts CHANGED
@@ -22,7 +22,7 @@ export interface RootOptions {
22
22
  }
23
23
 
24
24
  export interface Root {
25
- render(children: React.ReactChild | Iterable<React.ReactNode>): void;
25
+ render(children: React.ReactNode): void;
26
26
  unmount(): void;
27
27
  }
28
28
 
@@ -35,6 +35,6 @@ export function createRoot(container: Element | DocumentFragment, options?: Root
35
35
 
36
36
  export function hydrateRoot(
37
37
  container: Element | Document,
38
- initialChildren: React.ReactChild | Iterable<React.ReactNode>,
38
+ initialChildren: React.ReactNode,
39
39
  options?: HydrationOptions,
40
40
  ): Root;
react-dom/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/react-dom",
3
- "version": "18.0.2",
3
+ "version": "18.0.3",
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,7 +49,7 @@
49
49
  "dependencies": {
50
50
  "@types/react": "*"
51
51
  },
52
- "typesPublisherContentHash": "72a20209680e5c96e111d54d943c23ee84ae698daf720273739b5f72b1f276a1",
52
+ "typesPublisherContentHash": "beabea1eec76768b42649fc9a768b90963113ad6306de533c8c68326ce67e0e6",
53
53
  "typeScriptVersion": "3.9",
54
54
  "exports": {
55
55
  ".": {