@types/react-dom
Advanced tools
Comparing version 17.0.24 to 17.0.25
@@ -52,2 +52,3 @@ export as namespace ReactDOM; | ||
callback?: (component?: Component<P, ComponentState> | Element) => any, | ||
// eslint-disable-next-line @typescript-eslint/no-invalid-void-type | ||
): Component<P, ComponentState> | Element | void; | ||
@@ -95,2 +96,3 @@ | ||
callback?: () => void, | ||
// eslint-disable-next-line @typescript-eslint/no-invalid-void-type | ||
): Component<P, ComponentState> | Element | void; | ||
@@ -102,3 +104,4 @@ | ||
callback?: () => void, | ||
// eslint-disable-next-line @typescript-eslint/no-invalid-void-type | ||
): Component<any, ComponentState> | Element | void; | ||
} |
{ | ||
"name": "@types/react-dom", | ||
"version": "17.0.24", | ||
"version": "17.0.25", | ||
"description": "TypeScript definitions for react-dom", | ||
@@ -52,4 +52,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-dom", | ||
}, | ||
"typesPublisherContentHash": "c50ffc58fc73fd4731b395b16ee56cf6b9f41f4f9334dba033ede5b30a1e7375", | ||
"typesPublisherContentHash": "fcf408338139fe82eaea598accca0563e50c981da3465f3c46ad97b332b2ba62", | ||
"typeScriptVersion": "4.5" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Mon, 20 Nov 2023 23:36:24 GMT | ||
* Last updated: Wed, 22 Nov 2023 00:24:48 GMT | ||
* Dependencies: [@types/react](https://npmjs.com/package/@types/react) | ||
@@ -14,0 +14,0 @@ |
@@ -360,3 +360,3 @@ import { | ||
declare const UNDEFINED_VOID_ONLY: unique symbol; | ||
// tslint:disable-next-line: void-return | ||
// eslint-disable-next-line @typescript-eslint/no-invalid-void-type | ||
type VoidOrUndefinedOnly = void | { [UNDEFINED_VOID_ONLY]: never }; | ||
@@ -363,0 +363,0 @@ export function act(callback: () => Promise<void>): Promise<undefined>; |
21359
476