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

Update the combineLatest code #874

Open
fireflysemantics opened this issue Oct 7, 2020 · 0 comments
Open

Update the combineLatest code #874

fireflysemantics opened this issue Oct 7, 2020 · 0 comments

Comments

@fireflysemantics
Copy link

fireflysemantics commented Oct 7, 2020

https://stackoverflow.com/questions/64235967/combinelatest-refactoring-for-deprecated-resultselector-no-longer-supported

This code will fix the linting error:

    // Combine params from all of the path into a single object.
    this.params = combineLatest(
      this._route.pathFromRoot.map(route => route.params)).
      pipe(map((params:Params[])=>Object.assign({}, ...params)));


@fireflysemantics fireflysemantics changed the title Update the combineLatests code Update the combineLatest code Oct 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants