diff --git a/apps/rxjs-catch-error/src/app/app.component.ts b/apps/rxjs-catch-error/src/app/app.component.ts index 17117e4..aae88b2 100644 --- a/apps/rxjs-catch-error/src/app/app.component.ts +++ b/apps/rxjs-catch-error/src/app/app.component.ts @@ -1,6 +1,6 @@ import { Component, ElementRef, ViewChild } from '@angular/core'; import { HttpClient } from '@angular/common/http'; -import { concatMap, fromEvent, map } from 'rxjs'; +import { Observable, Subscription, concatMap, fromEvent, map } from 'rxjs'; import { CommonModule } from '@angular/common'; @Component({ @@ -9,13 +9,15 @@ import { CommonModule } from '@angular/common'; selector: 'app-root', template: `