@types/react-dom
Advanced tools
Comparing version 18.2.14 to 18.2.15
@@ -131,11 +131,11 @@ /** | ||
function useFormState<State>( | ||
action: (state: State) => Promise<State>, | ||
initialState: State, | ||
action: (state: Awaited<State>) => State | Promise<State>, | ||
initialState: Awaited<State>, | ||
permalink?: string, | ||
): [state: State, dispatch: () => void]; | ||
): [state: Awaited<State>, dispatch: () => void]; | ||
function useFormState<State, Payload>( | ||
action: (state: State, payload: Payload) => Promise<State>, | ||
initialState: State, | ||
action: (state: Awaited<State>, payload: Payload) => State | Promise<State>, | ||
initialState: Awaited<State>, | ||
permalink?: string, | ||
): [state: State, dispatch: (payload: Payload) => void]; | ||
): [state: Awaited<State>, dispatch: (payload: Payload) => void]; | ||
} | ||
@@ -142,0 +142,0 @@ |
{ | ||
"name": "@types/react-dom", | ||
"version": "18.2.14", | ||
"version": "18.2.15", | ||
"description": "TypeScript definitions for react-dom", | ||
@@ -85,4 +85,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-dom", | ||
}, | ||
"typesPublisherContentHash": "a91527c44aa825000d86a4ee5471f4cfc93028a45d97c624bca8ba664455d44e", | ||
"typesPublisherContentHash": "89d2db51d9354952a5871fe6343896615ca4e228ef8582ba6fb69ec1c5d89456", | ||
"typeScriptVersion": "4.5" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Wed, 18 Oct 2023 18:04:04 GMT | ||
* Last updated: Tue, 07 Nov 2023 20:08:00 GMT | ||
* Dependencies: [@types/react](https://npmjs.com/package/@types/react) | ||
@@ -14,0 +14,0 @@ |
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
32773