Incorrect type when using Yarn workspace
devsveil opened this issue · 3 comments
devsveil commented
Describe the bug
I'm trying to set up a Yarn workspace, but I'm randomly getting {}
type on import in one or all packages.
To Reproduce
Reproduction Github Repo
Expected behavior
Types should be correct.
Desktop (please complete the following information):
- OS: Windows 11
- Editor: VSCode: 1.76.1
KornelijusGlinskas commented
I'm getting this error as well with the same yarn workspace setup.
mrmckeb commented
Hi @VlasenkoStanislav, unfortunately when I opened that project locally and installed with Yarn (1.22), it worked. I then opened both workspaces and was able to reproduce the error in this project.
We made multiple changes to the plugin recently, so I tried upgrading to v5 and it seems to have fixed the issue - which I think is good news. Can you confirm?