Skip to content

Type Alias: FetchLike

type FetchLike = (input, init?) => Promise<Response>;

Defined in: packages/sdk/src/index.ts:547

Minimal fetch shape — just the call signature, not the runtime- specific static methods (Bun’s typeof globalThis.fetch requires a preconnect method that test stubs shouldn’t have to provide).

Parameter Type
input RequestInfo | URL
init? RequestInit

Promise<Response>