HttpClient.post() 方法像 get() 一樣也有型別引數,可以用它來指出你期望伺服器返回特定型別 ... const req = http.get<Heroes>('/api/heroes'); // 0 requests made ...
確定! 回上一頁