https://i.sstatic.net/3zEMq.png
In my yarn workspace, I have organized folders named public
and server
. While working with TypeScript in VS Code, I encounter an error message stating:
Cannot find module 'x'
Interestingly, even though the error persists, IntelliSense suggests x
. I have included both x
and @types/x
in my project, yet installing @types/x
does not seem to make a difference. Thank you.
Windows 1909 (Latest)
Visual Studio Code 1.43 (Latest)
TypeScript ^3.8.3 (Latest)
Yarn 2.0.0-rc.30 (Latest)
I have also attempted to locate type roots for yarn but haven't been successful so far. Could someone please provide me with information about the directory where the type root is located?