@octokit/types#EndpointInterface TypeScript Examples
The following examples show how to use
@octokit/types#EndpointInterface.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: fetch-wrapper.d.ts From aws-ssm-send-command with MIT License | 6 votes |
export default function fetchWrapper(requestOptions: ReturnType<EndpointInterface> & {
redirect?: "error" | "follow" | "manual";
}): Promise<{
status: number;
url: string;
headers: {
[header: string]: string;
};
data: any;
}>;
Example #2
Source File: with-defaults.d.ts From aws-ssm-send-command with MIT License | 5 votes |
export declare function withDefaults(oldDefaults: EndpointDefaults | null, newDefaults: RequestParameters): EndpointInterface;
Example #3
Source File: with-defaults.d.ts From aws-ssm-send-command with MIT License | 5 votes |
export default function withDefaults(oldEndpoint: EndpointInterface, newDefaults: RequestParameters): RequestInterface;