Auto-Import icon indicating copy to clipboard operation
Auto-Import copied to clipboard

Imports modules that are already imported (rxjs/<module> vs rxjs/Rx)

Open Methodician opened this issue 7 years ago • 1 comments

I keep having to remove duplicate imports. This is specifically with rxjs but I assume will happen with other libraries.

Here's an example:

I already have an import statement such as:

import { Observable } from 'rxjs/Rx';

Then I go try to use the "Observable" class and I get a new import statement like:

import { Observable } from 'rxjs/Observable';

At first it seemed like a minor price to pay for the power of this tool but as it kept happening I realized I should report it.

Methodician avatar Nov 19 '16 02:11 Methodician

Thanks for the feedback - I have been away from this project for a few weeks now but I am back and looking at as many issues as I can.

Thanks for using it :)

soates avatar Nov 20 '16 13:11 soates