basalt / subscriptions-proxypay/src / FetchLike
Type Alias: FetchLike
> FetchLike = (url, init?) => Promise<{ ok: boolean; status: number; text: Promise<string>; }>
Defined in: subscriptions-proxypay/src/index.ts:34
Minimal fetch surface — the global fetch (Node 18+/browsers) is assignable.
Parameters
url
string
init?
body?
string
headers?
Record<string, string>
method?
string
Returns
Promise<{ ok: boolean; status: number; text: Promise<string>; }>