Skip to content

Commit 9b16520

Browse files
fix type of Context.log
1 parent d97a846 commit 9b16520

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/context.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ type Callback = (err?: any, value?: any) => void;
1111

1212
class Context extends EventEmitter {
1313
base_dir: string;
14-
log: logger;
14+
log: ReturnType<typeof logger>;
1515
extend: {
1616
console: ConsoleExtend;
1717
};

0 commit comments

Comments
 (0)