retroceso en angular

//That is called Template literals and it's a javascript feature, 
//it is not typescript specific.

//you can replace this:
const url = `${this.heroesUrl}/${hero.id}`;

//With
const url = this.heroesUrl + "/" hero.id;
Jo