Skip to content

Commit

Permalink
fix: vue-query typing issue (#1009)
Browse files Browse the repository at this point in the history
  • Loading branch information
ymc9 authored and Azzerty23 committed Feb 20, 2024
1 parent edbe48a commit e1979bd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/plugins/tanstack-query/src/runtime/vue.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export function useModelQuery<TQueryFnData, TData, TError>(
model: string,
url: string,
args?: unknown,
options?: UseQueryOptions<TQueryFnData, TError, TData>,
options?: Omit<UseQueryOptions<TQueryFnData, TError, TData>, 'queryKey'>,
fetch?: FetchFn,
optimisticUpdate = false
) {
Expand All @@ -87,7 +87,7 @@ export function useInfiniteModelQuery<TQueryFnData, TData, TError>(
model: string,
url: string,
args?: unknown,
options?: UseInfiniteQueryOptions<TQueryFnData, TError, TData>,
options?: Omit<UseInfiniteQueryOptions<TQueryFnData, TError, TData>, 'queryKey'>,
fetch?: FetchFn
) {
return useInfiniteQuery<TQueryFnData, TError, TData>({
Expand Down

0 comments on commit e1979bd

Please sign in to comment.