Typescript: Scoped NPM modules + assosiated @types/ issue
I have an issue with the IDE not doing the right things with @types for scoped packages. For example there's a package I'm using with the name '@storybook/react' and the relating @types module is '@types/storybook__react'. The IDE deals with these as two different packages. Completions don't work, and any imports attempted come from a wrong package of 'storybook__react'.
FWIW, This works in VS Code.
Here's a github repo to reproduce the issue https://github.com/Lavoaster/jetbrains-issue
Any ideas?
Please sign in to leave a comment.
Logged as https://youtrack.jetbrains.com/issue/WEB-30627, please follow it for updates