the-forest/client/node_modules/@tanstack/react-query/build/modern/usePrefetchQuery.d.ts

6 lines
370 B
TypeScript
Raw Normal View History

2024-09-17 20:35:18 -04:00
import { DefaultError, QueryKey, FetchQueryOptions, QueryClient } from '@tanstack/query-core';
declare function usePrefetchQuery<TQueryFnData = unknown, TError = DefaultError, TData = TQueryFnData, TQueryKey extends QueryKey = QueryKey>(options: FetchQueryOptions<TQueryFnData, TError, TData, TQueryKey>, queryClient?: QueryClient): void;
export { usePrefetchQuery };