Skip to content

Commit 346799a

Browse files
committed
fix(clients): use Options generic consistently in Vue ModelMutationModelResult
The base mutation result type was hardcoding QueryOptions<Schema> instead of using the Options generic parameter, breaking consistency with React and Svelte adapters.
1 parent d6a7bc5 commit 346799a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • packages/clients/tanstack-query/src

packages/clients/tanstack-query/src/vue.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ export type ModelMutationModelResult<
136136
Array extends boolean = false,
137137
Options extends QueryOptions<Schema> = QueryOptions<Schema>,
138138
> = Omit<
139-
ModelMutationResult<SimplifiedResult<Schema, Model, TArgs, QueryOptions<Schema>, false, Array, {}>, TArgs>,
139+
ModelMutationResult<SimplifiedResult<Schema, Model, TArgs, Options, false, Array, {}>, TArgs>,
140140
'mutateAsync'
141141
> & {
142142
mutateAsync<T extends TArgs>(

0 commit comments

Comments
 (0)