( options: UseInfiniteQueryOptions, queryClient?: QueryClient, )
| 353 | ): UseInfiniteQueryResult<TData, TError> |
| 354 | |
| 355 | export function useInfiniteQuery( |
| 356 | options: UseInfiniteQueryOptions, |
| 357 | queryClient?: QueryClient, |
| 358 | ) { |
| 359 | return useBaseQuery( |
| 360 | options, |
| 361 | InfiniteQueryObserver as typeof QueryObserver, |
| 362 | queryClient, |
| 363 | ) |
| 364 | } |