Types exported from a Vue file in a monorepo package are not found in the importing package with the TypeScript Vue Plugin (Non-takeover mode) #3419
Labels
bug
Something isn't working
good reproduction ✨
This issue provides a good reproduction, we will be able to investigate it first
Steps to Reproduce
pnpm i
pnpm -C packages/a build
code .
packages/b/composables/foo.ts
.There will be no real type for
Foo
in non-takeover mode using the TypeScript Vue Plugin, and the incorrect assignment will not be flagged in VS Code. If you runpnpm type-check
inpackages/b
it will flag the assignment. This doesn't happen in take over mode. It seems like something isn't working in this case in the TypeScript server plugin. Weird, cause I remember this used to work.Using VS Code 1.80.1
Volar 1.8.5
Happens with either VS Code's builtin TypeScript 5.1.6 or with the workspace TypeScript 5.0.4
The text was updated successfully, but these errors were encountered: