Open zcf0508 opened 1 week ago
Could you please try replacing {{ tasks }}
with {{ __VLS_ctx }}
and then show me the result when you hover over it?
+1 having the same issue in a Nuxt app
Type-checking in the script section and regular .ts
files works, but the type checking is broken in the Vue template. Specifically, if I hover over variables, I see both - the actual type and any
.
Any nested properties then always fallback to any
. Downgrading to 2.0.19 also fixes the issue for me.
Vue - Official extension or vue-tsc version
2.0.21
VSCode version
1.91.0-insiders
Vue version
3.4.27
TypeScript version
latest
System Info
Steps to reproduce
update
vue.volar
to 2.0.20 or 2.0.212.0.19![image](https://github.com/vuejs/language-tools/assets/21942252/4aba999a-99a4-4495-924a-b08d50a99097)
2.0.21![image](https://github.com/vuejs/language-tools/assets/21942252/e6cfc0b6-a4e5-4a53-88cf-a989fa9b7f18)
Link to minimal reproduction
https://github.com/zcf0508/chattts-webui/blob/master/pages/tasks.vue#L42
Any additional comments?
No response