Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Whats the correct? #20

Closed
iget-master opened this issue Apr 25, 2018 · 2 comments
Closed

Whats the correct? #20

iget-master opened this issue Apr 25, 2018 · 2 comments

Comments

@iget-master
Copy link

iget-master commented Apr 25, 2018

I'm trying to use the rxjs-5-to-6-migrate command, but it looks strange!

This two imports:

import {ReplaySubject} from 'rxjs/ReplaySubject';
import {Observable} from 'rxjs/Observable';

are linted to

import {ReplaySubject, Observable} from 'rxjs';

then it shows:

WARNING: /path/to/file.ts[6, 1]: duplicate RxJS import

to the same line that it linted.

If I run ng tslint it say's that this import path is black-listed (the linted one)

@mgechev
Copy link
Collaborator

mgechev commented Apr 25, 2018

Angular CLI seems out of date. You can either wait for version 6 or update your tslint.json file.

@mgechev mgechev closed this as completed Apr 25, 2018
@iget-master
Copy link
Author

Thanks, I've noticed that my @angular/cli was on beta version while the other @angular was on rc.5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants