Skip to content
This repository has been archived by the owner on Mar 31, 2021. It is now read-only.

Commit

Permalink
fix(cli): type error
Browse files Browse the repository at this point in the history
  • Loading branch information
sundowndev committed Nov 3, 2019
1 parent 0ae8f4e commit 9021a61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/cli/src/common/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export const initMigrator = async (config: IConfigFile): Promise<Migration> => {

if (typeof support.default === 'function') {
support.default(
(event: string, cb: (...args: any[]) => void): void => {
(event: string, cb: (...args: any[]) => Promise<any>): void => {
return migrator.registerEvent(event, cb);
},
{ config },
Expand Down

0 comments on commit 9021a61

Please sign in to comment.