diff --git a/src/@types/@octokit/plugin-enterprise-compatibility/index.d.ts b/src/@types/@octokit/plugin-enterprise-compatibility/index.d.ts deleted file mode 100644 index d7814385..00000000 --- a/src/@types/@octokit/plugin-enterprise-compatibility/index.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -declare module '@octokit/plugin-enterprise-compatibility' { - import Octokit from '@octokit/rest' - declare function plugin(octokit: Octokit, options: Octokit.Options): void - export = plugin -} \ No newline at end of file diff --git a/src/github/index.ts b/src/github/index.ts index 15011873..35ce784e 100644 --- a/src/github/index.ts +++ b/src/github/index.ts @@ -1,5 +1,5 @@ import { graphql } from '@octokit/graphql' -import enterpriseCompatibility from '@octokit/plugin-enterprise-compatibility' +import { enterpriseCompatibility } from '@octokit/plugin-enterprise-compatibility' import retryPlugin from '@octokit/plugin-retry' import throttlePlugin from '@octokit/plugin-throttling' import Octokit from '@octokit/rest'