@types/react-dom
Advanced tools
Comparing version 16.9.6 to 16.9.7
// Type definitions for React (react-dom) 16.9 | ||
// Project: http://facebook.github.io/react/ | ||
// Project: https://reactjs.org | ||
// Definitions by: Asana <https://asana.com> | ||
@@ -4,0 +4,0 @@ // AssureSign <http://www.assuresign.com> |
{ | ||
"name": "@types/react-dom", | ||
"version": "16.9.6", | ||
"version": "16.9.7", | ||
"description": "TypeScript definitions for React (react-dom)", | ||
@@ -46,4 +46,4 @@ "license": "MIT", | ||
}, | ||
"typesPublisherContentHash": "6a13b83e378d549ddeae772447c4a211ba2d108e21786e64d706321289320543", | ||
"typesPublisherContentHash": "6bc408c3c9a29d7698695c245b868576d2b306178ee2e907f6723482510fc0db", | ||
"typeScriptVersion": "2.8" | ||
} |
@@ -5,3 +5,3 @@ # Installation | ||
# Summary | ||
This package contains type definitions for React (react-dom) (http://facebook.github.io/react/). | ||
This package contains type definitions for React (react-dom) (https://reactjs.org). | ||
@@ -12,3 +12,3 @@ # Details | ||
### Additional Details | ||
* Last updated: Tue, 31 Mar 2020 21:43:51 GMT | ||
* Last updated: Mon, 27 Apr 2020 20:03:00 GMT | ||
* Dependencies: [@types/react](https://npmjs.com/package/@types/react) | ||
@@ -15,0 +15,0 @@ * Global values: `ReactDOM`, `ReactDOMNodeStream`, `ReactDOMServer` |
@@ -289,7 +289,10 @@ import { | ||
*/ | ||
// the "void | undefined" is here to forbid any sneaky "Promise" returns. | ||
export function act(callback: () => void | undefined): void; | ||
// the "void | undefined" is here to forbid any sneaky return values | ||
// NOTES | ||
// - the order of these signatures matters - typescript will check the signatures in source order. | ||
// If the `() => void` signature is first, it'll erroneously match a Promise returning function for users with | ||
// `strictNullChecks: false`. | ||
// - the "void | undefined" types are there to forbid any non-void return values for users with `strictNullChecks: true` | ||
// tslint:disable-next-line: void-return | ||
export function act(callback: () => Promise<void | undefined>): Promise<undefined>; | ||
export function act(callback: () => void | undefined): void; | ||
@@ -296,0 +299,0 @@ // Intentionally doesn't extend PromiseLike<never>. |
Sorry, the diff of this file is not supported yet
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
24481
505