the-forest/client/node_modules/@tanstack/react-query/build/modern/usePrefetchQuery.d.cts
2024-09-17 20:35:18 -04:00

6 lines
370 B
TypeScript

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 };