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:
		
							parent
							
								
									8a4ec8e565
								
							
						
					
					
						commit
						b95089db20
					
				| @ -40,7 +40,7 @@ export class HeroService { | |||||||
|   // #enddocregion getHeroes-1
 |   // #enddocregion getHeroes-1
 | ||||||
|       .pipe( |       .pipe( | ||||||
|         // #enddocregion getHeroes-2
 |         // #enddocregion getHeroes-2
 | ||||||
|         tap(heroes => this.log('fetched heroes')), |         tap(_ => this.log('fetched heroes')), | ||||||
|         // #docregion getHeroes-2
 |         // #docregion getHeroes-2
 | ||||||
|         catchError(this.handleError('getHeroes', [])) |         catchError(this.handleError('getHeroes', [])) | ||||||
|       ); |       ); | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user