Library referenceTypes
FetchLike
type FetchLike = (input, init?) => Promise<Response>;only the call signature, so a wrapper or a mock needs none of fetch's statics
Parameters
| Parameter | Type |
|---|---|
input | string |
init? | RequestInit |
Returns
Promise<Response>