@types/react-dom
Advanced tools
Comparing version 18.2.21 to 18.2.22
@@ -135,3 +135,3 @@ /** | ||
permalink?: string, | ||
): [state: Awaited<State>, dispatch: () => void]; | ||
): [state: Awaited<State>, dispatch: () => void, isPending: boolean]; | ||
function useFormState<State, Payload>( | ||
@@ -141,3 +141,3 @@ action: (state: Awaited<State>, payload: Payload) => State | Promise<State>, | ||
permalink?: string, | ||
): [state: Awaited<State>, dispatch: (payload: Payload) => void]; | ||
): [state: Awaited<State>, dispatch: (payload: Payload) => void, isPending: boolean]; | ||
} | ||
@@ -144,0 +144,0 @@ |
{ | ||
"name": "@types/react-dom", | ||
"version": "18.2.21", | ||
"version": "18.2.22", | ||
"description": "TypeScript definitions for react-dom", | ||
@@ -85,4 +85,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-dom", | ||
}, | ||
"typesPublisherContentHash": "1389240f3f0e88050c5094fa7affd8147161d7ff40fe1922ec74bc416fa24df0", | ||
"typeScriptVersion": "4.6" | ||
"typesPublisherContentHash": "1495fcf3efebcb837251ac985acc92b1ab0cc83b717b1efaded4811b7a12582f", | ||
"typeScriptVersion": "4.7" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Wed, 06 Mar 2024 22:35:40 GMT | ||
* Last updated: Wed, 13 Mar 2024 11:35:23 GMT | ||
* Dependencies: [@types/react](https://npmjs.com/package/@types/react) | ||
@@ -14,0 +14,0 @@ |
34002