(
options: MaybeRefDeep<
FetchInfiniteQueryOptions<
TQueryFnData,
TError,
TData,
TQueryKey,
TPageParam
>
>,
)
| 504 | >, |
| 505 | ): Promise<InfiniteData<TData, TPageParam>> |
| 506 | fetchInfiniteQuery< |
| 507 | TQueryFnData, |
| 508 | TError = DefaultError, |
| 509 | TData = TQueryFnData, |
| 510 | TQueryKey extends QueryKey = QueryKey, |
| 511 | TPageParam = unknown, |
| 512 | >( |
| 513 | options: MaybeRefDeep< |
| 514 | FetchInfiniteQueryOptions< |
| 515 | TQueryFnData, |
| 516 | TError, |
| 517 | TData, |
| 518 | TQueryKey, |
| 519 | TPageParam |
| 520 | > |
| 521 | >, |
| 522 | ): Promise<InfiniteData<TData, TPageParam>> { |
| 523 | // eslint-disable-next-line no-restricted-syntax -- grandfathered deprecated wrapper implementation |
| 524 | return super.fetchInfiniteQuery(cloneDeepUnref(options)) |
| 525 | } |
| 526 | |
| 527 | /** |
| 528 | * @deprecated use void queryClient.infiniteQuery(options) instead. You can swallow errors with `.catch(noop)`. This method will be removed in the next major version. |
no test coverage detected