-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[vue-query] useQueries type inference issues with select, computed and Array.map #7270
Copy link
Copy link
Closed
Labels
Description
Describe the bug
Using useQueries with queries constructed with different combinations of select, computed and Array.map may lose type inference and produce type errors.
Your minimal, reproducible example
Steps to reproduce
- Open provided TS playground
- Inspect type-errors
Expected behavior
I expected for types to infer and flow through Array.map/computed/useQueries calls.
How often does this bug happen?
Every time
Screenshots or Videos
No response
Platform
N/A
Tanstack Query adapter
vue-query
TanStack Query version
v5.29.0
TypeScript version
v5.4.5
Additional context
Reactions are currently unavailable