類型別名:Fetch
type Fetch = (input, init?) => Promise<Response>;
與全域性 fetch 相容的 HTTP fetch 實現。
參數
input
string
init?
RequestInit
回傳值
Promise<Response>
type Fetch = (input, init?) => Promise<Response>;
與全域性 fetch 相容的 HTTP fetch 實現。
string
RequestInit
Promise<Response>