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