diff --git a/scripts/templates/index.d.ts.tpl b/scripts/templates/index.d.ts.tpl index 409ff77f..4e1d555b 100644 --- a/scripts/templates/index.d.ts.tpl +++ b/scripts/templates/index.d.ts.tpl @@ -255,7 +255,7 @@ declare class Octokit { wrap(name: string, callback: (request: (options: Octokit.HookOptions) => Promise>, 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