From 4c6862a1d29ae9af826fcdbd18cf9461833db57e Mon Sep 17 00:00:00 2001 From: Jeff Dickey <216188+jdxcode@users.noreply.github.com> Date: Sat, 20 Jan 2018 02:00:37 -0800 Subject: [PATCH] fix: use CLIConfig in hooks --- src/hooks.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/hooks.ts b/src/hooks.ts index c05afb21..2323d809 100644 --- a/src/hooks.ts +++ b/src/hooks.ts @@ -1,5 +1,5 @@ import {ICommand} from './command' -import {IConfig} from './config' +import {ICLIConfig} from './config' import {IPlugin, IPluginModule} from './plugin' export interface Hooks { @@ -20,4 +20,4 @@ export interface IHookReturn { exit?: number } -export type IHook = (options: T & {config: IConfig}) => Promise +export type IHook = (options: T & {config: ICLIConfig}) => Promise