7 lines
469 B
TypeScript
7 lines
469 B
TypeScript
import { UseSuspenseQueryOptions, UseSuspenseQueryResult } from './types.cjs';
|
|
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 };
|