UNPKG

311 BTypeScriptView Raw
1import { EndpointInterface } from "@octokit/types";
2export default function fetchWrapper(requestOptions: ReturnType<EndpointInterface> & {
3 redirect?: "error" | "follow" | "manual";
4}): Promise<{
5 status: number;
6 url: string;
7 headers: {
8 [header: string]: string;
9 };
10 data: any;
11}>;