Typescript function: What does the part after : represent in Typescript's function?

前端 未结 0 1816
忘掉有多难
忘掉有多难 2020-11-29 21:59
getCustomer(id: number): Observable {
    const url = `${this.customersUrl}/${id}`;
    return this.http.get(url);
  }
 
相关标签:
回答
  • 消灭零回复
提交回复
热议问题