Skip to content
This repository was archived by the owner on Apr 4, 2025. It is now read-only.

refactor: Update rxjs operators to be lettable. #345

Merged
merged 1 commit into from
Jan 12, 2018

Conversation

Brocco
Copy link
Contributor

@Brocco Brocco commented Dec 22, 2017

No description provided.

@Brocco
Copy link
Contributor Author

Brocco commented Dec 22, 2017

Dependent upon angular/angular-cli#8976

@@ -6,21 +6,19 @@
* found in the LICENSE file at https://angular.io/license
*/
// tslint:disable:no-any
import 'rxjs/add/operator/filter';
import 'rxjs/add/operator/map';
import { filter, map, toArray } from 'rxjs/operators';
Copy link
Member

@CaerusKaru CaerusKaru Dec 24, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These should be separate imports:

import { filter } from 'rxjs/operators/filter';
...

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Per discussion in angular/angular-cli#8976 (comment), this is a non-starter/not necessary

@Brocco Brocco merged commit e1f4356 into angular:master Jan 12, 2018
@Brocco Brocco deleted the lettable branch January 12, 2018 20:29
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants