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