type InfiniteQueryObserverResult<TData, TError> =
| DefinedInfiniteQueryObserverResult<TData, TError>
| InfiniteQueryObserverLoadingErrorResult<TData, TError>
| InfiniteQueryObserverLoadingResult<TData, TError>
| InfiniteQueryObserverPendingResult<TData, TError>
| InfiniteQueryObserverPlaceholderResult<TData, TError>;Defined in: packages/query-core/src/types.ts:1800
The result of an InfiniteQueryObserver, and of the hooks built on it like useInfiniteQuery. Narrow it by status or the is* flags to get the type of each state.
TData = unknown
TError = DefaultError