@types/react-dom 17.0.13 → 17.0.14

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, 02 Mar 2022 17:31:50 GMT
11
+ * Last updated: Sat, 19 Mar 2022 07:31:42 GMT
12
12
  * Dependencies: [@types/react](https://npmjs.com/package/@types/react)
13
13
  * Global values: `ReactDOM`, `ReactDOMNodeStream`, `ReactDOMServer`
14
14
 
react-dom/client.d.ts CHANGED
@@ -6,8 +6,6 @@
6
6
 
7
7
  import React = require('react');
8
8
  export interface HydrationOptions {
9
- onHydrated?(suspenseInstance: Comment): void;
10
- onDeleted?(suspenseInstance: Comment): void;
11
9
  /**
12
10
  * Prefix for `useId`.
13
11
  */
@@ -33,10 +31,10 @@ export interface Root {
33
31
  *
34
32
  * @see https://reactjs.org/docs/concurrent-mode-reference.html#createroot
35
33
  */
36
- export function createRoot(container: Element | Document | DocumentFragment | Comment, options?: RootOptions): Root;
34
+ export function createRoot(container: Element | DocumentFragment, options?: RootOptions): Root;
37
35
 
38
36
  export function hydrateRoot(
39
- container: Element | Document | DocumentFragment | Comment,
37
+ container: Element | Document,
40
38
  initialChildren: React.ReactChild | Iterable<React.ReactNode>,
41
39
  options?: HydrationOptions,
42
40
  ): Root;
react-dom/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/react-dom",
3
- "version": "17.0.13",
3
+ "version": "17.0.14",
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": "9f236d9f702478c35871d7dcccc813fde4bde453f13b533e8aea63c02839c874",
52
+ "typesPublisherContentHash": "bb6ccdfb4be52f5b94a8ea67684c63c29d57b4ff383a3f33fd7e1a81e35f264f",
53
53
  "typeScriptVersion": "3.9"
54
54
  }