📅  最后修改于: 2022-03-11 15:03:52.104000             🧑  作者: Mango
//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;