diff --git a/src/octokit.ts b/src/octokit.ts index 7bad219e..2d6a35eb 100644 --- a/src/octokit.ts +++ b/src/octokit.ts @@ -2,11 +2,11 @@ import { Octokit } from "@octokit/rest"; import { retry } from "@octokit/plugin-retry"; import program from "./parser/command-line"; import configuration from "./configuration/config-reader"; -import { paginateGraphQL, paginateGraphQLInterface } from "@octokit/plugin-paginate-graphql"; +import { paginateGraphQL } from "@octokit/plugin-paginate-graphql"; const customOctokit = Octokit.plugin(retry, paginateGraphQL); -let octokitInstance: (Octokit & paginateGraphQLInterface) | null = null; +let octokitInstance: InstanceType | null = null; function getOctokitInstance() { if (!octokitInstance) {