Skip to content
docs

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.

string

string

Record<string, string>

string

AbortSignal

Promise<{ ok: boolean; status: number; json: Promise<unknown>; text: Promise<string>; }>