File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -201,15 +201,15 @@ declare class Github {
201201 authenticate(auth: Github.Auth): void;
202202
203203 hook: {
204- before(name: string, callback: (options: Github.HookOptions) => void)
205- after(name: string, callback: (response: Github.Response< any> , options: Github.HookOptions) => void)
206- error(name: string, callback: (error: Github.HookError, options: Github.HookOptions) => void)
207- wrap(name: string, callback: (request: (options: Github.HookOptions) => Promise< Github.Response< any>> , options: Github.HookOptions) => void)
204+ before(name: string, callback: (options: Github.HookOptions) => void): void
205+ after(name: string, callback: (response: Github.Response< any> , options: Github.HookOptions) => void): void
206+ error(name: string, callback: (error: Github.HookError, options: Github.HookOptions) => void): void
207+ wrap(name: string, callback: (request: (options: Github.HookOptions) => Promise< Github.Response< any>> , options: Github.HookOptions) => void): void
208208 }
209209
210- plugin(plugin: Github.Plugin | [Github.Plugin])
210+ plugin(plugin: Github.Plugin | [Github.Plugin]): Github
211211
212- registerEndpoints(routes: any)
212+ registerEndpoints(routes: any): void
213213
214214 request: any
215215
You can’t perform that action at this time.
0 commit comments