@whatwg-node/node-fetch
Version:
Fetch API implementation for Node
4 lines (3 loc) • 315 B
TypeScript
import { PonyfillRequest } from './Request.js';
import { PonyfillResponse } from './Response.js';
export declare function createFetchCurl(nodeLibcurl: typeof import('node-libcurl')): <TResponseJSON = any, TRequestJSON = any>(fetchRequest: PonyfillRequest<TRequestJSON>) => Promise<PonyfillResponse<TResponseJSON>>;