Closed as not planned
Description
Describe the bug
According to useSuspenseQuery
's docs:
status
is alwayssuccess
But the type for status
is "error" | "success"
. It should be "success"
only.
Your minimal, reproducible example
Steps to reproduce
- Invoke
useSuspenseQuery
- Verify the type of the
status
property
Expected behavior
As a user, I expected the type of status
for useSuspenseQuery
to be "success"
, but I am seeing "error" | "success"
How often does this bug happen?
Every time
Screenshots or Videos
No response
Platform
- OS: macOS
- Browser: Arc (Chromium)
- Version: 1.89.0 (135.0.7049.42)
Tanstack Query adapter
react-query
TanStack Query version
v5.72.2
TypeScript version
v5.8.3
Additional context
No response