language-tools: template errors with recent versions for `ref` and `computed` variables
I don’t know if anyone can help me but I’m getting a lot of type errors which weren’t there a few days ago (specifically it’s type errors in the template for ref
or computed
props). I am using pnpm (v6.14.3) as the package manager.
-
Initially when running
pnpm ls vue-tsc
in the base of the monorepo I got nothing. This surprised me and indeednpm ls vue-tsc
give the expected results:This may be a red herring, but I found it odd. In any event, I install
vue-tsc
as a devDep in the root of the mono repo and am now getting this:This should mean I’m on the latest version and I’d not expect to get any more errors.
-
When starting vs-code (after step 1), I do unfortunately still get this “warning sign” from Volar:
-
Running
pnpm up --latest vue-tsc
as was suggested makes no changes I am already on the latest version but now I get tons of lint errors in the template section forref
andcomputed
props. 😦
This all worked a few days ago. I’m now trying to isolate which version stopped working for me.
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Reactions: 1
- Comments: 18 (7 by maintainers)
@johnsoncodehk yes, but the tips still there. by the way, thanks so much for Volar and your good job, so quick and cool.