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

7 lines
468 B
TypeScript
Raw Normal View History

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