Skip to content

Commit

Permalink
fix(typescript): Octokit#plugin argument type for plugins (#1385)
Browse files Browse the repository at this point in the history
  • Loading branch information
billytrend authored and wolfy1339 committed May 31, 2019
1 parent 2155b1a commit 05bc206
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/templates/index.d.ts.tpl
Expand Up @@ -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
Expand Down

0 comments on commit 05bc206

Please sign in to comment.