@types/react-dom
Advanced tools
Comparing version 18.2.22 to 18.2.23
@@ -148,4 +148,31 @@ /** | ||
interface RootOptions { | ||
onUncaughtError?: | ||
| ((error: unknown, errorInfo: { componentStack?: string | undefined }) => void) | ||
| undefined; | ||
onCaughtError?: | ||
| (( | ||
error: unknown, | ||
errorInfo: { | ||
componentStack?: string | undefined; | ||
errorBoundary?: React.Component<unknown> | undefined; | ||
}, | ||
) => void) | ||
| undefined; | ||
} | ||
interface HydrationOptions { | ||
formState?: ReactFormState | null; | ||
onUncaughtError?: | ||
| ((error: unknown, errorInfo: { componentStack?: string | undefined }) => void) | ||
| undefined; | ||
onCaughtError?: | ||
| (( | ||
error: unknown, | ||
errorInfo: { | ||
componentStack?: string | undefined; | ||
errorBoundary?: React.Component<unknown> | undefined; | ||
}, | ||
) => void) | ||
| undefined; | ||
} | ||
@@ -152,0 +179,0 @@ |
{ | ||
"name": "@types/react-dom", | ||
"version": "18.2.22", | ||
"version": "18.2.23", | ||
"description": "TypeScript definitions for react-dom", | ||
@@ -85,4 +85,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-dom", | ||
}, | ||
"typesPublisherContentHash": "1495fcf3efebcb837251ac985acc92b1ab0cc83b717b1efaded4811b7a12582f", | ||
"typesPublisherContentHash": "1c7cd64bb21e0109c4a64d7532b342e135fd2e6d50a9e5c0f6808eec4fdbecf3", | ||
"typeScriptVersion": "4.7" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Wed, 13 Mar 2024 11:35:23 GMT | ||
* Last updated: Thu, 28 Mar 2024 16:36:06 GMT | ||
* Dependencies: [@types/react](https://npmjs.com/package/@types/react) | ||
@@ -14,0 +14,0 @@ |
34925
806