Skip to content
This repository has been archived by the owner on Aug 22, 2023. It is now read-only.

Commit

Permalink
fix: have engine take config instead of root
Browse files Browse the repository at this point in the history
  • Loading branch information
jdx committed Jan 29, 2018
1 parent db7ac63 commit 23e3516
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/engine.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import {ICachedCommand} from './command'
import {ICLIConfig} from './config'
import {ICLIConfig, IConfig} from './config'
import {IPlugin} from './plugin'
import {ITopic} from './topic'

Expand All @@ -21,5 +21,5 @@ export interface IEngine {

runHook<T extends {}>(event: string, opts: T): Promise<void>

load(root: string): Promise<void>
load(config: IConfig): Promise<void>
}

0 comments on commit 23e3516

Please sign in to comment.