FetchLike
FetchLike = (
input,init?) =>Promise<{ok:boolean;status:number;json:Promise<unknown>;text:Promise<string>; }>
Defined in: history-evm/src/types.ts:7
The subset of WHATWG fetch this package uses; lets tests and hosts inject their own.
Parameters
Section titled “Parameters”string
string
headers?
Section titled “headers?”Record<string, string>
method?
Section titled “method?”string
signal?
Section titled “signal?”AbortSignal
Returns
Section titled “Returns”Promise<{ ok: boolean; status: number; json: Promise<unknown>; text: Promise<string>; }>