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
with preserveSymlinks true, hovering in IDE shows "const data: QueryObserverResult<TData, TError>". bad type inference
with preserveSymlinks false, hovering in IDE shows "const data: number" which is (almost) correct. it should be "number | undefined"
2 problems here, but the first one is the main one
Your minimal, reproducible example
see above
Steps to reproduce
see above
Expected behavior
see above
How often does this bug happen?
None
Screenshots or Videos
No response
Platform
WSL2, Ubuntu 22.04.3
Tanstack Query adapter
None
TanStack Query version
5.48.0
TypeScript version
5.5.2
Additional context
No response
The text was updated successfully, but these errors were encountered:
Describe the bug
with preserveSymlinks true, hovering in IDE shows "const data: QueryObserverResult<TData, TError>". bad type inference
with preserveSymlinks false, hovering in IDE shows "const data: number" which is (almost) correct. it should be "number | undefined"
2 problems here, but the first one is the main one
Your minimal, reproducible example
see above
Steps to reproduce
see above
Expected behavior
see above
How often does this bug happen?
None
Screenshots or Videos
No response
Platform
Tanstack Query adapter
None
TanStack Query version
5.48.0
TypeScript version
5.5.2
Additional context
No response
The text was updated successfully, but these errors were encountered: