UNPKG

@httpc/kit

Version:

httpc toolbox for building function-based API with minimal code and end-to-end type safety

9 lines (8 loc) 362 B
import type * as nf from "node-fetch"; import type { default as Fetch } from "node-fetch"; declare let fetch: typeof Fetch; declare let Headers: typeof nf.Headers; declare let Request: typeof nf.Request; declare let Response: typeof nf.Response; export type { Headers, Request, Response } from "node-fetch"; export { fetch, Headers, Request, Response };