( options: UseInfiniteQueryOptions, queryClient?: QueryClient, )
| 190 | ): UseInfiniteQueryResult<TData, TError> |
| 191 | |
| 192 | export function useInfiniteQuery( |
| 193 | options: UseInfiniteQueryOptions, |
| 194 | queryClient?: QueryClient, |
| 195 | ) { |
| 196 | return useBaseQuery( |
| 197 | options, |
| 198 | InfiniteQueryObserver as typeof QueryObserver, |
| 199 | queryClient, |
| 200 | ) |
| 201 | } |