Skip to content

Commit 87b13b4

Browse files
committedMay 7, 2024
refactor(types): rename HookStateSafeActionFn to HookSafeStateActionFn
1 parent e4ee217 commit 87b13b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎packages/next-safe-action/src/hooks.types.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ export type HookSafeActionFn<
5959
* Type of the stateful safe action function passed to hooks. Same as `SafeStateActionFn` except it accepts
6060
* just a single input, without bind arguments.
6161
*/
62-
export type HookStateSafeActionFn<
62+
export type HookSafeStateActionFn<
6363
ServerError,
6464
S extends Schema | undefined,
6565
BAS extends readonly Schema[],

0 commit comments

Comments
 (0)
Please sign in to comment.