We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a90793 commit 94d6b6bCopy full SHA for 94d6b6b
packages/react-query/src/types.ts
@@ -58,8 +58,8 @@ export interface UseInfiniteQueryOptions<
58
TQueryData = TQueryFnData,
59
TQueryKey extends QueryKey = QueryKey,
60
TPageParam = unknown,
61
-> extends Omit<
62
- WithRequired<
+> extends WithRequired<
+ Omit<
63
InfiniteQueryObserverOptions<
64
TQueryFnData,
65
TError,
@@ -68,9 +68,9 @@ export interface UseInfiniteQueryOptions<
68
TQueryKey,
69
TPageParam
70
>,
71
- 'queryKey'
+ 'suspense'
72
73
- 'suspense'
+ 'queryKey'
74
> {}
75
76
export interface UseSuspenseInfiniteQueryOptions<
0 commit comments