@WebStormIDE works so much worse with TypeScript as with JS: auto-imports are completely broken, completion is oftentimes similar or even worse. Shouldn't be easier to provide better experience considering static nature of TS?
Can you please check that you have "allowJS": true in your tsconfig.json file related to Search.tsx. Without this option, imports from .js files are disabled in TS.
-
-
Added it to my config. It fixed the resolution popup but still doesn't show these React components on completion (when I start typing the name in JSX). This works in JS, though.
-
We've reported an issue: https://youtrack.jetbrains.com/issue/WEB-35851 and now are working on a fix. It will land in WebStorm 2018.3.1 or 2018.3.2. Thanks for sharing an example.
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.