@types/react-dom 16.9.5 → 16.9.6

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,9 +8,9 @@ This package contains type definitions for React (react-dom) (http://facebook.gi
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: Tue, 21 Jan 2020 01:00:06 GMT
11
+ * Last updated: Tue, 31 Mar 2020 21:43:51 GMT
12
12
  * Dependencies: [@types/react](https://npmjs.com/package/@types/react)
13
13
  * Global values: `ReactDOM`, `ReactDOMNodeStream`, `ReactDOMServer`
14
14
 
15
15
  # Credits
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).
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/index.d.ts CHANGED
@@ -22,7 +22,7 @@ import {
22
22
  } from 'react';
23
23
 
24
24
  export function findDOMNode(instance: ReactInstance | null | undefined): Element | null | Text;
25
- export function unmountComponentAtNode(container: Element): boolean;
25
+ export function unmountComponentAtNode(container: Element | DocumentFragment): boolean;
26
26
 
27
27
  export function createPortal(children: ReactNode, container: Element, key?: null | string): ReactPortal;
28
28
 
@@ -56,43 +56,43 @@ export interface Renderer {
56
56
 
57
57
  <T extends Element>(
58
58
  element: DOMElement<DOMAttributes<T>, T>,
59
- container: Element | null,
59
+ container: Element | DocumentFragment | null,
60
60
  callback?: () => void
61
61
  ): T;
62
62
 
63
63
  (
64
64
  element: Array<DOMElement<DOMAttributes<any>, any>>,
65
- container: Element | null,
65
+ container: Element | DocumentFragment | null,
66
66
  callback?: () => void
67
67
  ): Element;
68
68
 
69
69
  (
70
70
  element: SFCElement<any> | Array<SFCElement<any>>,
71
- container: Element | null,
71
+ container: Element | DocumentFragment | null,
72
72
  callback?: () => void
73
73
  ): void;
74
74
 
75
75
  <P, T extends Component<P, ComponentState>>(
76
76
  element: CElement<P, T>,
77
- container: Element | null,
77
+ container: Element | DocumentFragment | null,
78
78
  callback?: () => void
79
79
  ): T;
80
80
 
81
81
  (
82
82
  element: Array<CElement<any, Component<any, ComponentState>>>,
83
- container: Element | null,
83
+ container: Element | DocumentFragment | null,
84
84
  callback?: () => void
85
85
  ): Component<any, ComponentState>;
86
86
 
87
87
  <P>(
88
88
  element: ReactElement<P>,
89
- container: Element | null,
89
+ container: Element | DocumentFragment | null,
90
90
  callback?: () => void
91
91
  ): Component<P, ComponentState> | Element | void;
92
92
 
93
93
  (
94
94
  element: ReactElement[],
95
- container: Element | null,
95
+ container: Element | DocumentFragment | null,
96
96
  callback?: () => void
97
97
  ): Component<any, ComponentState> | Element | void;
98
98
  }
react-dom/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/react-dom",
3
- "version": "16.9.5",
3
+ "version": "16.9.6",
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": "*"
45
45
  },
46
- "typesPublisherContentHash": "95b46fb1847145bfcb046057714e66ded61e37e1450785bb1310899d6c94ecfc",
46
+ "typesPublisherContentHash": "6a13b83e378d549ddeae772447c4a211ba2d108e21786e64d706321289320543",
47
47
  "typeScriptVersion": "2.8"
48
48
  }