setup-node/node_modules/@actions/github/lib/github.d.ts
Danny McCormick 5273d0df9c Add auth
2019-08-06 18:29:44 -04:00

9 lines
356 B
TypeScript

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);
}