@types/react-dom 16.9.4 → 16.9.5
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 +6 -6
- react-dom/package.json +3 -3
- react-dom/test-utils/index.d.ts +1 -1
react-dom/README.md
CHANGED
@@ -5,12 +5,12 @@
|
|
5
5
|
This package contains type definitions for React (react-dom) (http://facebook.github.io/react/).
|
6
6
|
|
7
7
|
# Details
|
8
|
-
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-dom
|
8
|
+
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-dom.
|
9
9
|
|
10
|
-
Additional Details
|
11
|
-
* Last updated:
|
12
|
-
* Dependencies: @types/react
|
13
|
-
* Global values: ReactDOM
|
10
|
+
### Additional Details
|
11
|
+
* Last updated: Tue, 21 Jan 2020 01:00:06 GMT
|
12
|
+
* Dependencies: [@types/react](https://npmjs.com/package/@types/react)
|
13
|
+
* Global values: `ReactDOM`, `ReactDOMNodeStream`, `ReactDOMServer`
|
14
14
|
|
15
15
|
# Credits
|
16
|
-
These definitions were written by Asana
|
16
|
+
These definitions were written by Asana (https://asana.com), AssureSign (http://www.assuresign.com), Microsoft (https://microsoft.com), MartynasZilinskas (https://github.com/MartynasZilinskas), Josh Rutherford (https://github.com/theruther4d), and Jessica Franco (https://github.com/Jessidhia).
|
react-dom/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@types/react-dom",
|
3
|
-
"version": "16.9.
|
3
|
+
"version": "16.9.5",
|
4
4
|
"description": "TypeScript definitions for React (react-dom)",
|
5
5
|
"license": "MIT",
|
6
6
|
"contributors": [
|
@@ -33,7 +33,7 @@
|
|
33
33
|
}
|
34
34
|
],
|
35
35
|
"main": "",
|
36
|
-
"types": "index",
|
36
|
+
"types": "index.d.ts",
|
37
37
|
"repository": {
|
38
38
|
"type": "git",
|
39
39
|
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git",
|
@@ -43,6 +43,6 @@
|
|
43
43
|
"dependencies": {
|
44
44
|
"@types/react": "*"
|
45
45
|
},
|
46
|
-
"typesPublisherContentHash": "
|
46
|
+
"typesPublisherContentHash": "95b46fb1847145bfcb046057714e66ded61e37e1450785bb1310899d6c94ecfc",
|
47
47
|
"typeScriptVersion": "2.8"
|
48
48
|
}
|
react-dom/test-utils/index.d.ts
CHANGED
@@ -287,7 +287,7 @@ export function createRenderer(): ShallowRenderer;
|
|
287
287
|
* @see https://reactjs.org/blog/2019/02/06/react-v16.8.0.html#testing-hooks
|
288
288
|
*/
|
289
289
|
// the "void | undefined" is here to forbid any sneaky "Promise" returns.
|
290
|
-
export function act(callback: () => void | undefined):
|
290
|
+
export function act(callback: () => void | undefined): void;
|
291
291
|
// the "void | undefined" is here to forbid any sneaky return values
|
292
292
|
// tslint:disable-next-line: void-return
|
293
293
|
export function act(callback: () => Promise<void | undefined>): Promise<undefined>;
|