Files
discord-clone/node_modules/unenv/runtime/fetch/index.d.ts
2023-01-03 09:29:04 -06:00

5 lines
293 B
TypeScript

import { CallContext, CallHandle } from "./call";
export * from "./call";
export declare type FetchOptions = globalThis.RequestInit & CallContext;
export declare function createFetch(call: CallHandle, _fetch?: typeof fetch): (input: string | Request, init: FetchOptions) => Promise<Response>;