(
options: MaybeRefDeep<
FetchQueryOptions<TQueryFnData, TError, TData, TQueryKey, TPageParam>
>,
)
| 346 | >), |
| 347 | ): Promise<TData> |
| 348 | fetchQuery< |
| 349 | TQueryFnData, |
| 350 | TError = DefaultError, |
| 351 | TData = TQueryFnData, |
| 352 | TQueryKey extends QueryKey = QueryKey, |
| 353 | TPageParam = never, |
| 354 | >( |
| 355 | options: MaybeRefDeep< |
| 356 | FetchQueryOptions<TQueryFnData, TError, TData, TQueryKey, TPageParam> |
| 357 | >, |
| 358 | ): Promise<TData> { |
| 359 | // eslint-disable-next-line no-restricted-syntax -- grandfathered deprecated wrapper implementation |
| 360 | return super.fetchQuery(cloneDeepUnref(options)) |
| 361 | } |
| 362 | |
| 363 | /** |
| 364 | * @deprecated Use queryClient.query(options) instead. You can swallow errors with `.catch(noop)`. This method will be removed in the next major version. |
no test coverage detected