Convert action to typescript

This commit is contained in:
Peter Evans 2020-07-16 17:57:13 +09:00
parent 40e70b8f7b
commit 4ba9ca3d10
19 changed files with 12517 additions and 4466 deletions

7
src/octokit-client.ts Normal file
View file

@ -0,0 +1,7 @@
import {Octokit as Core} from '@octokit/core'
import {paginateRest} from '@octokit/plugin-paginate-rest'
import {restEndpointMethods} from '@octokit/plugin-rest-endpoint-methods'
export {RestEndpointMethodTypes} from '@octokit/plugin-rest-endpoint-methods'
export {OctokitOptions} from '@octokit/core/dist-types/types'
export const Octokit = Core.plugin(paginateRest, restEndpointMethods)