@types/react-dom
Advanced tools
Comparing version 17.0.4 to 17.0.5
@@ -9,2 +9,3 @@ // Type definitions for React (react-dom) 17.0 | ||
// Jessica Franco <https://github.com/Jessidhia> | ||
// Sebastian Silbermann <https://github.com/eps1lon> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
@@ -57,2 +58,4 @@ // TypeScript Version: 2.8 | ||
export type Container = Element | Document | DocumentFragment; | ||
export interface Renderer { | ||
@@ -64,3 +67,3 @@ // Deprecated(render): The return value is deprecated. | ||
element: DOMElement<DOMAttributes<T>, T>, | ||
container: Element | DocumentFragment | null, | ||
container: Container| null, | ||
callback?: () => void | ||
@@ -71,3 +74,3 @@ ): T; | ||
element: Array<DOMElement<DOMAttributes<any>, any>>, | ||
container: Element | DocumentFragment | null, | ||
container: Container| null, | ||
callback?: () => void | ||
@@ -78,3 +81,3 @@ ): Element; | ||
element: SFCElement<any> | Array<SFCElement<any>>, | ||
container: Element | DocumentFragment | null, | ||
container: Container| null, | ||
callback?: () => void | ||
@@ -85,3 +88,3 @@ ): void; | ||
element: CElement<P, T>, | ||
container: Element | DocumentFragment | null, | ||
container: Container| null, | ||
callback?: () => void | ||
@@ -92,3 +95,3 @@ ): T; | ||
element: Array<CElement<any, Component<any, ComponentState>>>, | ||
container: Element | DocumentFragment | null, | ||
container: Container| null, | ||
callback?: () => void | ||
@@ -99,3 +102,3 @@ ): Component<any, ComponentState>; | ||
element: ReactElement<P>, | ||
container: Element | DocumentFragment | null, | ||
container: Container| null, | ||
callback?: () => void | ||
@@ -106,5 +109,5 @@ ): Component<P, ComponentState> | Element | void; | ||
element: ReactElement[], | ||
container: Element | DocumentFragment | null, | ||
container: Container| null, | ||
callback?: () => void | ||
): Component<any, ComponentState> | Element | void; | ||
} |
{ | ||
"name": "@types/react-dom", | ||
"version": "17.0.4", | ||
"version": "17.0.5", | ||
"description": "TypeScript definitions for React (react-dom)", | ||
@@ -33,2 +33,7 @@ "license": "MIT", | ||
"githubUsername": "Jessidhia" | ||
}, | ||
{ | ||
"name": "Sebastian Silbermann", | ||
"url": "https://github.com/eps1lon", | ||
"githubUsername": "eps1lon" | ||
} | ||
@@ -47,4 +52,4 @@ ], | ||
}, | ||
"typesPublisherContentHash": "f6ef2f5cdf9e3adf7cc9fe9efc08259a2712408862af5d62dbfe1ac1dad2162d", | ||
"typesPublisherContentHash": "efcabc29f4b12c5b1112d528883bab336df851747e5a829ebb92aa30b1895336", | ||
"typeScriptVersion": "3.5" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Mon, 10 May 2021 22:31:25 GMT | ||
* Last updated: Thu, 13 May 2021 07:31:26 GMT | ||
* Dependencies: [@types/react](https://npmjs.com/package/@types/react) | ||
@@ -17,2 +17,2 @@ * Global values: `ReactDOM`, `ReactDOMNodeStream`, `ReactDOMServer` | ||
# Credits | ||
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). | ||
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), [Jessica Franco](https://github.com/Jessidhia), and [Sebastian Silbermann](https://github.com/eps1lon). |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
23578
486