(value: string)
| 28 | export type HookEvent = (typeof HOOK_EVENTS)[number] |
| 29 | |
| 30 | export function isHookEvent(value: string): value is HookEvent { |
| 31 | return (HOOK_EVENTS as readonly string[]).includes(value) |
| 32 | } |
| 33 | |
| 34 | /** A single command hook, as written under a matcher in settings.json. */ |
| 35 | export interface HookCommand { |