prefix unused declarations with '_'

This commit is contained in:
Eduardo Quiros 2021-08-08 23:39:07 -06:00
parent d82a53548b
commit 5cc8548e51
No known key found for this signature in database
GPG Key ID: B77F36C3F12720B4
1 changed files with 2 additions and 2 deletions

View File

@ -70,7 +70,7 @@ export class UsuarioPlantillasComponent implements OnInit {
} }
} }
trackId(index: number, item: IPlantilla): number { trackId(_index: number, item: IPlantilla): number {
return item.id!; return item.id!;
} }
@ -93,7 +93,7 @@ export class UsuarioPlantillasComponent implements OnInit {
console.log(plantillaId, newSurvey); console.log(plantillaId, newSurvey);
this.encuestaService.createFromTemplate(newSurvey, plantillaId).subscribe(res => { this.encuestaService.createFromTemplate(newSurvey, plantillaId).subscribe(_res => {
this.router.navigate(['/encuesta']); this.router.navigate(['/encuesta']);
}); });
} }