setup-node/node_modules/@actions/github/lib/github.d.ts

9 lines
356 B
TypeScript
Raw Permalink Normal View History

2019-08-05 15:18:52 -04:00
import { GraphQlQueryResponse, Variables } from '@octokit/graphql';
import Octokit from '@octokit/rest';
import * as Context from './context';
export declare const context: Context.Context;
export declare class GitHub extends Octokit {
graphql: (query: string, variables?: Variables) => Promise<GraphQlQueryResponse>;
constructor(token: string);
}