From 3e51df796048bffe8dd37f2bee664267d3497e1a Mon Sep 17 00:00:00 2001 From: Jeff Dickey <216188+jdxcode@users.noreply.github.com> Date: Wed, 24 Jan 2018 21:51:30 -0800 Subject: [PATCH] fix: remove hook return --- src/hooks.ts | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/hooks.ts b/src/hooks.ts index 2323d809..fd5ed9e2 100644 --- a/src/hooks.ts +++ b/src/hooks.ts @@ -16,8 +16,4 @@ export interface Hooks { } } -export interface IHookReturn { - exit?: number -} - -export type IHook = (options: T & {config: ICLIConfig}) => Promise +export type IHook = (options: T & {config: ICLIConfig}) => any