diff --git a/src/internal/operators/catchError.ts b/src/internal/operators/catchError.ts index 56b6c83c4d..37b6bfc5ae 100644 --- a/src/internal/operators/catchError.ts +++ b/src/internal/operators/catchError.ts @@ -109,7 +109,7 @@ export function catchError>( ): OperatorFunction> { return function catchErrorOperatorFunction(source: Observable): Observable> { const operator = new CatchOperator(selector); - const caught = lift(source, operator); + const caught = lift(source, operator) as Observable; operator.caught = caught; return caught; };