dancancro / great-big-example-application

A full-stack example app built with JHipster, Spring Boot, Kotlin, Angular 4, ngrx, and Webpack
Other
925 stars 264 forks source link

Incorrectly Importing RxJS #191

Closed moshejs closed 7 years ago

moshejs commented 7 years ago

According to this article: https://christianliebel.com/2017/07/import-rxjs-correctly/ the author claims that RxJS is "polyfill-like" and is better to import it from a file called "rxjs-imports.ts." This will require some work, so I considered opening an issue before I contribute.

Thanks.

dancancro commented 7 years ago

That looks pretty cool. It seems that you would just need to add a few lines to tslint.json, find all the operators used in the application and put them in the new imports file and then run the linter and remove them from where they were. Right?

moshejs commented 7 years ago

Sounds about right, working on it