From 91f08b2518f9282670a1e467f614edeeb8c6e636 Mon Sep 17 00:00:00 2001 From: gentlementlegen Date: Tue, 27 Aug 2024 23:17:55 +0900 Subject: [PATCH] chore: fixed octokit type --- src/octokit.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) {