When trying to extend a class from a class in a node_modules the typescript compiler throws a error saying:
node_modules
Property \'source\' is protected but
If there are multiple node_modules folders you have to add a path mapping in the host app's tsconfig. Just map @rxjs/* to the root node_modules/rxjs/*. Then everything works fine.