![]() But I prefer this from always having to manually type imports. This is not great because if you ever delete node_modules folder it will stop working again. What finally fixed it was manually copying the package folder from node_modules to and leaving there only the type declaration files, e.g. That was my case, I couldn't see react-bootstrap auto imports in a plain Create-React-App. ĭue to bugs either in VS Code or in specific packages' type declarations, the last two points don't always work. ![]() This is better described in this comment. I have a tsconfig.json in my baseDir that looks like this: only if any of your local files is importing them I've been doing it manually so far, but to be honest I'd rather wait 15 seconds for webstorm to find and add my import that have to dig around manually for it. ![]() Visual studio code isn't being very helpful about finding the dependencies I need and importing them. I'm in the process of making the move from Webstorm to Visual Studio Code.
0 Comments
Leave a Reply. |