import { default as nodeFetch , RequestInfo as FetchRequestInfo , RequestInit as FetchRequestInit , } from "node-fetch" ; export const fetch = async ( request , config ? ) : Promise < Response > => nodeFetch ( request as FetchRequestInfo , config as FetchRequestInit ) as unknown as Response ;