krapio
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

ParameterType
inputstring
init?RequestInit

Returns

Promise<Response>

On this page