-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Closed
Labels
Description
Describe the bug
@tanstack/vue-query@4.13.2 lost some types. @tanstack/vue-query@4.12.0 is Fine.
Your minimal, reproducible example
https://github.com/ModyQyW/tanstack-vue-query-type-lost
Steps to reproduce
pnpm install @tanstack/vue-query@4.13.2- reload editor or ide, open
src/main.tsand checkqueryKeyandvariablestypes pnpm install @tanstack/vue-query@4.12.0- reload editor or ide, open
src/main.tsand checkqueryKeyandvariablestypes
Expected behavior
Should infer correct types, not any.
How often does this bug happen?
Every time
Screenshots or Videos
No response
Platform
macOs Monterey 12.6, VSCode 1.72.2
react-query version
@tanstack/vue-query@4.13.2
TypeScript version
4.8.4
Additional context
No response



