Defined in: types.ts:121
The options accepted by injectInfiniteQuery. Same as CreateBaseQueryOptions, minus suspense — which angular-query-experimental doesn't support, unlike react-query — extends InfiniteQueryObserverOptions from @tanstack/query-core for the infinite-query-specific options (getNextPageParam, initialPageParam, etc.).
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 = TQueryFnData
The type data ends up as after select runs. Defaults to TQueryFnData here, though injectInfiniteQuery itself defaults it to InfiniteData<TQueryFnData> — the shape data actually has when no select is used.
TQueryKey extends QueryKey = QueryKey
The type of your queryKey.
TPageParam = unknown
The type of the parameter passed to queryFn to fetch a given page.