I have been trying to understand what is happening with this code.
I understand combineLatest emits a value, emit the last emitted value from each observable. and Object.assign copies all enumerable own properties from one or more source objects to a target object.
I understand this far, but what I don't get, is how they are used together (combineLatest and Object.assign) in that context.
combineLatest(_route.pathFromRoot.map(route => route.params), Object.assign)
This is a reference https://github.com/angular/material.angular.io/blob/master/src/app/pages/component-category-list/component-category-list.ts#L28