Skip to content

Commit 7a2b423

Browse files
committed
Convert MutationHooks to a type alias
1 parent 47665f3 commit 7a2b423

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/toolkit/src/query/react/buildHooks.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,9 +84,9 @@ export type QueryHooks<
8484
useQueryState: UseQueryState<Definition>
8585
}
8686

87-
export interface MutationHooks<
87+
export type MutationHooks<
8888
Definition extends MutationDefinition<any, any, any, any, any>,
89-
> {
89+
> = {
9090
useMutation: UseMutation<Definition>
9191
}
9292

0 commit comments

Comments
 (0)