From 6bd20e8b2f00f374b03a755e12e60619d620a4b9 Mon Sep 17 00:00:00 2001 From: Tomas Veras Date: Mon, 21 Jan 2019 13:24:10 -0400 Subject: [PATCH] docs: add missing type when handling errors in hero service. (#28256) PR Close #28256 --- aio/content/examples/toh-pt6/src/app/hero.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aio/content/examples/toh-pt6/src/app/hero.service.ts b/aio/content/examples/toh-pt6/src/app/hero.service.ts index c1e0b4d094..8542a0877b 100644 --- a/aio/content/examples/toh-pt6/src/app/hero.service.ts +++ b/aio/content/examples/toh-pt6/src/app/hero.service.ts @@ -42,7 +42,7 @@ export class HeroService { // #enddocregion getHeroes-2 tap(_ => this.log('fetched heroes')), // #docregion getHeroes-2 - catchError(this.handleError('getHeroes', [])) + catchError(this.handleError('getHeroes', [])) ); // #docregion getHeroes-1 }