Closed henrychea closed 1 year ago
@henrychea, Please notice that VSC stable is currently running TS ^5.0.4, while VSC insiders has set TS .5.1 dev preview which is partially supported by Volar at the moment.
I would set 5.0.4 as project dependency and use the Takeover mode to set it as Workspace version (point to node_modules
to resolve TS lib).
I tried that but the issue persists
VS Code Stable
VS Code Insider
same problem here :(
It should work now.
Here's a comparison with VS Code Insiders and VS Code Stable.
VS Code Insiders (1.79.0-insider - Apple M1)![image](https://github.com/vuejs/language-tools/assets/40254517/cc3cfc1c-546e-42b6-a32e-04f9f61f36b2)
VS Code Stable (1.78.2 - Apple M1)![image](https://github.com/vuejs/language-tools/assets/40254517/c1efda1f-eb77-4148-9c73-2a0888d550d1)
Reproduction Repo: https://github.com/henrychea/volar-vuejs2-ts-check-issue-repoduce