-
Notifications
You must be signed in to change notification settings - Fork 189
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
Use proper way of rxjs imports #172
Comments
@pburgmer Agree, this is a good point. Will update the lib during this week. |
Thanks |
Maybe this comment can be useful: I'm finding that in my Angular CLI app using ng2tree works fine but only when not compiling in prod mode (with or without
|
I have the same error. |
I updated the same issue over angular cli project as well - angular/angular-cli#2281 Upgrading the typescript version to 2.6 also resolves the issue. But I think this library eventually have to replace the statements |
Hi,
First of all: Thanks for this cool library.
We have some trouble building a bigger application with the Angular CLI. Digging deeper I saw you import Observables like this:
import { Observable } from 'rxjs/Rx';
. This kind of import statements leads to a bigger file size. Please see https://christianliebel.com/2017/07/import-rxjs-correctly/ for more details.Could you please update your import statements to
import { Observable } from 'rxjs/Observable';
and add the operators manually.Thanks
The text was updated successfully, but these errors were encountered: