@types/react-dom
Advanced tools
Comparing version 16.9.23 to 16.9.24
@@ -56,2 +56,3 @@ // NOTE: Users of the `experimental` builds of React should add a reference | ||
callback?: (component?: Component<P, ComponentState> | Element) => any, | ||
// eslint-disable-next-line @typescript-eslint/no-invalid-void-type | ||
): Component<P, ComponentState> | Element | void; | ||
@@ -99,2 +100,3 @@ | ||
callback?: () => void, | ||
// eslint-disable-next-line @typescript-eslint/no-invalid-void-type | ||
): Component<P, ComponentState> | Element | void; | ||
@@ -106,3 +108,4 @@ | ||
callback?: () => void, | ||
// eslint-disable-next-line @typescript-eslint/no-invalid-void-type | ||
): Component<any, ComponentState> | Element | void; | ||
} |
{ | ||
"name": "@types/react-dom", | ||
"version": "16.9.23", | ||
"version": "16.9.24", | ||
"description": "TypeScript definitions for react-dom", | ||
@@ -52,4 +52,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-dom", | ||
}, | ||
"typesPublisherContentHash": "8bb1aa991569b86e6fc08bf412ea073763cd829da0f449e1112af544c59bfe3e", | ||
"typesPublisherContentHash": "0c361a6f055b51e7fbb510c81d66ae7a5cb01e455e97121eea6814ee3c11746b", | ||
"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 @@ |
@@ -359,3 +359,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 }; | ||
@@ -362,0 +362,0 @@ export function act(callback: () => Promise<VoidOrUndefinedOnly>): Promise<undefined>; |
21513
479