diff --git a/src/interfaces/config.ts b/src/interfaces/config.ts index eb211311b..62f4cef6a 100644 --- a/src/interfaces/config.ts +++ b/src/interfaces/config.ts @@ -95,7 +95,7 @@ export interface Config { readonly commandIDs: string[]; runCommand(id: string, argv?: string[], cachedCommand?: Command.Loadable): Promise; - runHook(event: T, opts: Hooks[T]['options'], timeout?: number): Promise>; + runHook(event: T, opts: Hooks[T]['options'], timeout?: number, captureErrors?: boolean): Promise>; getAllCommandIDs(): string[] getAllCommands(): Command.Loadable[] findCommand(id: string, opts: { must: true }): Command.Loadable;