UNPKG

634 BTypeScriptView Raw
1/// <reference types="node" />
2import { Agent as HttpAgent } from "http";
3import { Agent as HttpsAgent } from "https";
4export declare type RequestAgent = HttpAgent | HttpsAgent;
5export declare type ReferrerPolicy = "" | "no-referrer" | "no-referrer-when-downgrade" | "same-origin" | "origin" | "strict-origin" | "origin-when-cross-origin" | "strict-origin-when-cross-origin" | "unsafe-url";
6export { default as fetch, Request, Response, Headers, ResponseInit, BodyInit, RequestInfo, HeadersInit, Body, RequestInit, RequestMode, RequestCredentials, RequestCache, RequestRedirect } from "node-fetch";
7//# sourceMappingURL=fetch.d.ts.map
\No newline at end of file