Defined in: preact-query/src/types.ts:237
The options accepted by useInfiniteQuery. Extends InfiniteQueryObserverOptions from @tanstack/query-core with the preact-query-specific subscribed option, minus suspense (which preact-query derives from which hook you call rather than exposing as an option).
OmitKeyof<InfiniteQueryObserverOptions<TQueryFnData, TError, TData, TQueryKey, TPageParam>, "suspense">
TQueryFnData = unknown
The type of a single page, as your queryFn resolves it.
TError = DefaultError
The type of errors your queryFn may throw.
TData = InfiniteData<TQueryFnData>
The type data ends up as after select runs — defaults to InfiniteData<TQueryFnData>, the shape of all fetched pages plus their page params.
TQueryKey extends QueryKey = QueryKey
The type of your queryKey.
TPageParam = unknown
The type of the parameter passed to queryFn to fetch a given page.
optional subscribed: boolean;Defined in: preact-query/src/types.ts:258
Set this to false to unsubscribe this observer from updates to the query cache.
true