@types/react-dom 18.0.3 → 18.0.4

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, 28 Apr 2022 23:31:45 GMT
11
+ * Last updated: Thu, 12 May 2022 19:01:46 GMT
12
12
  * Dependencies: [@types/react](https://npmjs.com/package/@types/react)
13
13
  * Global values: `ReactDOM`, `ReactDOMServer`
14
14
 
react-dom/index.d.ts CHANGED
@@ -25,7 +25,7 @@ import {
25
25
  export function findDOMNode(instance: ReactInstance | null | undefined): Element | null | Text;
26
26
  export function unmountComponentAtNode(container: Element | DocumentFragment): boolean;
27
27
 
28
- export function createPortal(children: ReactNode, container: Element, key?: null | string): ReactPortal;
28
+ export function createPortal(children: ReactNode, container: Element | DocumentFragment, key?: null | string): ReactPortal;
29
29
 
30
30
  export const version: string;
31
31
  export const render: Renderer;
react-dom/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/react-dom",
3
- "version": "18.0.3",
3
+ "version": "18.0.4",
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": "beabea1eec76768b42649fc9a768b90963113ad6306de533c8c68326ce67e0e6",
52
+ "typesPublisherContentHash": "eece74582af8ebd4481a525f029fabf9f46a0e9ebdbbe41e96ef23fb087205c2",
53
53
  "typeScriptVersion": "3.9",
54
54
  "exports": {
55
55
  ".": {