You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The typing of the isFetchNextPageError property returned by the useSuspenseInfiniteQuery and useInfiniteQuery hooks is incorrect. It is currently typed as false instead of boolean.
Describe the bug
The typing of the
isFetchNextPageError
property returned by theuseSuspenseInfiniteQuery
anduseInfiniteQuery
hooks is incorrect. It is currently typed asfalse
instead ofboolean
.Your minimal, reproducible example
CodeSandbox
Steps to reproduce
useSuspenseInfiniteQuery
oruseInfiniteQuery
isFetchNextPageError
propertyfalse
.Expected behavior
isFetchNextPageError
should be typed asboolean
.How often does this bug happen?
Every time
Screenshots or Videos
No response
Platform
Tanstack Query adapter
None
TanStack Query version
5.51.23
TypeScript version
5.5.2
Additional context
No response
The text was updated successfully, but these errors were encountered: