fix: adapt for @octokit/plugin-enterprise-compatibility@^1.2.1

This commit is contained in:
Gregor Martynus 2019-11-04 21:55:28 -08:00
parent 7768a970f9
commit af2be40db4
2 changed files with 1 additions and 6 deletions

View File

@ -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
}

View File

@ -1,5 +1,5 @@
import { graphql } from '@octokit/graphql' 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 retryPlugin from '@octokit/plugin-retry'
import throttlePlugin from '@octokit/plugin-throttling' import throttlePlugin from '@octokit/plugin-throttling'
import Octokit from '@octokit/rest' import Octokit from '@octokit/rest'