Type Alias: UseTRPCPrefetchInfiniteQueryOptions<TInput, TOutput, TError>
On this page
UseTRPCPrefetchInfiniteQueryOptions<
TInput,TOutput,TError>:DistributiveOmit<FetchInfiniteQueryOptions<TOutput,TError,TOutput,any,ExtractCursorType<TInput>>,"queryKey"|"initialPageParam"> &TRPCUseQueryBaseOptions&object
Defined in: packages/react-query/src/shared/hooks/types.ts:168
Options for usePrefetchInfiniteQuery.
Type declaration
initialCursor?
optionalinitialCursor:ExtractCursorType<TInput>
The cursor for the first page.
Type Parameters
| Type Parameter |
|---|
TInput |
TOutput |
TError |
See
https://trpc.io/docs/client/react/suspense#component-level-prefetching-with-useprefetchinfinitequery