Interface: UseTRPCInfiniteQueryOptions<TInput, TOutput, TError>
On this page
Defined in: packages/react-query/src/shared/hooks/types.ts:145
Options for useInfiniteQuery. Use initialCursor instead of initialPageParam.
See
https://trpc.io/docs/client/react/useInfiniteQuery
Extends
DistributiveOmit<UseInfiniteQueryOptions<TOutput,TError,TOutput,any,ExtractCursorType<TInput>>,"queryKey"|"initialPageParam">.TRPCUseQueryBaseOptions
Type Parameters
| Type Parameter |
|---|
TInput |
TOutput |
TError |
Properties
initialCursor?
optionalinitialCursor:ExtractCursorType<TInput>
Defined in: packages/react-query/src/shared/hooks/types.ts:161
The cursor for the first page.
trpc?
optionaltrpc:TRPCReactRequestOptions
Defined in: packages/react-query/src/shared/hooks/types.ts:67
tRPC-related options