@types/react-dom 16.9.11 → 16.9.12

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.
@@ -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/v16.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Fri, 12 Feb 2021 18:02:48 GMT
11
+ * Last updated: Tue, 23 Mar 2021 00:35:10 GMT
12
12
  * Dependencies: [@types/react](https://npmjs.com/package/@types/react)
13
13
  * Global values: `ReactDOM`, `ReactDOMNodeStream`, `ReactDOMServer`
14
14
 
@@ -30,6 +30,9 @@ export const version: string;
30
30
  export const render: Renderer;
31
31
  export const hydrate: Renderer;
32
32
 
33
+ export function flushSync<R>(fn: () => R): R;
34
+ export function flushSync<A, R>(fn: (a: A) => R, a: A): R;
35
+
33
36
  export function unstable_batchedUpdates<A, B>(callback: (a: A, b: B) => any, a: A, b: B): void;
34
37
  export function unstable_batchedUpdates<A>(callback: (a: A) => any, a: A): void;
35
38
  export function unstable_batchedUpdates(callback: () => any): void;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/react-dom",
3
- "version": "16.9.11",
3
+ "version": "16.9.12",
4
4
  "description": "TypeScript definitions for React (react-dom)",
5
5
  "license": "MIT",
6
6
  "contributors": [
@@ -43,6 +43,6 @@
43
43
  "dependencies": {
44
44
  "@types/react": "^16"
45
45
  },
46
- "typesPublisherContentHash": "550ed1e4b6475591e135170a4c9ac8e70c518caca3a624a72c549b32c25a5ef3",
47
- "typeScriptVersion": "3.4"
46
+ "typesPublisherContentHash": "d370d601f3f8f3cd93f6909456d6315b59e182661e8cc660138056e19e878455",
47
+ "typeScriptVersion": "3.5"
48
48
  }