Skip to content
Permalink
Browse files

fix(typescript): Octokit#plugin argument type for plugins (#1385)

  • Loading branch information...
billytrend authored and wolfy1339 committed May 31, 2019
1 parent 2155b1a commit 05bc206f4c608a9989fec2cdaed3d754f01b0a39
Showing with 1 addition and 1 deletion.
  1. +1 −1 scripts/templates/index.d.ts.tpl
@@ -255,7 +255,7 @@ declare class Octokit {
wrap(name: string, callback: (request: (options: Octokit.HookOptions) => Promise<Octokit.Response<any>>, options: Octokit.HookOptions) => void): void
}

static plugin(plugin: Octokit.Plugin | [Octokit.Plugin]): Octokit.Static;
static plugin(plugin: Octokit.Plugin | Octokit.Plugin[]): Octokit.Static;

registerEndpoints(endpoints: {
[scope: string]: Octokit.EndpointOptions

0 comments on commit 05bc206

Please sign in to comment.
You can’t perform that action at this time.