Closed szulcus closed 2 months ago
Experiencing the same issue though not using nuxt and just global declare
for some internal package in my monorepo.
Last working version for my was vue-tsc
2.0.22
. 24 starts failing for me
@minht11 for me it doesn't work even for vue-tsc@2.0.22
and Vue extension with this version. Generally, since the beginning of Nuxt 3 I have had problems with typing in useNuxtApp
, but now I finally managed to find some specifics.
Thank you for reporting this issue. I think this issue can't be fixed in this repo, as it may happen in any TypeScript Nuxt projects. Please report the issue to Nuxt. Thanks!
Vue - Official extension or vue-tsc version
2.0.26
VSCode version
1.91.0
Vue version
3.3.13
TypeScript version
4.9.5
System Info
Steps to reproduce
'#app' module with NuxtApp not working but '#app/nuxt' module with NuxtApp working.
It works:
But it doen't work:
Or it:
What is expected?
Working '#app' module
What is actually happening?
Not working '#app' module
Link to minimal reproduction
https://stackblitz.com/edit/github-fxc8uz?file=index.d.ts
Any additional comments?
No response