@types/react-dom
Advanced tools
Comparing version 16.9.22 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.22", | ||
"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": "5969a1ad66ae71e3d8f6a19bbfe9dd0f74a976734490b6535225ec1aab0c915e", | ||
"typesPublisherContentHash": "0c361a6f055b51e7fbb510c81d66ae7a5cb01e455e97121eea6814ee3c11746b", | ||
"typeScriptVersion": "4.5" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Tue, 07 Nov 2023 20:08:00 GMT | ||
* Last updated: Wed, 22 Nov 2023 00:24:48 GMT | ||
* Dependencies: [@types/react](https://npmjs.com/package/@types/react) | ||
@@ -14,0 +14,0 @@ |
// forward declarations | ||
declare global { | ||
namespace NodeJS { | ||
// tslint:disable-next-line:no-empty-interface | ||
// eslint-disable-next-line @typescript-eslint/no-empty-interface | ||
interface ReadableStream {} | ||
@@ -6,0 +6,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>; |
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
21513
479