-
use
throwErrorinstead ofObservable.throw, see https://github.com/ReactiveX/rxjs/blob/master/docs_app/content/guide/v6/migration.md#observable-classes -
finallywas renamed tofinalizeand you’ll use it insidepipe()among other operators. -
the same with
publish()andrefCount(). Both are operators you’ll use insidepipe().