docs: replace unused variable by _ (#26768)

replace unused variable by _  to keep the code consistent between examples

PR Close #26768
This commit is contained in:
Alexander Teplyashin 2018-10-25 15:48:31 -07:00 committed by Matias Niemelä
parent 8a4ec8e565
commit b95089db20
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ export class HeroService {
// #enddocregion getHeroes-1
.pipe(
// #enddocregion getHeroes-2
tap(heroes => this.log('fetched heroes')),
tap(_ => this.log('fetched heroes')),
// #docregion getHeroes-2
catchError(this.handleError('getHeroes', []))
);