In a couple of points in your examples there is a line such this

import { filter, map, c } from ‘rxjs/operators’;

I think that rather than ‘c’ you want to import ‘reduce’.

Anyways excellent and clear and usefull

A man with passion for code and for some strange things that sometimes happen in IT organizations. Views and thoughts here are my own.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store