TS automatic imports break previous imports
If I've used un-named imports to import the defaults from a library, and then attempt to import a named reference, it completely breaks the imports.
Before:

After:
What I tried to do there is use the default export from Axios, and then use the named AxiosRequestConfig export to type-hint an object further down in the file, but it messes up the imports. Similar thing happens when using braces to export the default explicitly;

It only seems to happen if the import statement being edited is after another import statement, so if I put the axios imports at the very top, it doesn't break anything. Any ideas?
Please sign in to leave a comment.
Looks similar to https://youtrack.jetbrains.com/issue/WEB-33844; it's fixed in 2018.3