summaryrefslogtreecommitdiff
path: root/src/utils/logger.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils/logger.ts')
-rw-r--r--src/utils/logger.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/utils/logger.ts b/src/utils/logger.ts
index ecfacbc952..fae1042c39 100644
--- a/src/utils/logger.ts
+++ b/src/utils/logger.ts
@@ -1,8 +1,8 @@
-import * as chalk from 'chalk';
+import chalk, { Chalk } from 'chalk';
export type LogLevel = 'Error' | 'Warn' | 'Info';
-function toLevelColor(level: LogLevel): chalk.ChalkStyle {
+function toLevelColor(level: LogLevel): Chalk {
switch (level) {
case 'Error': return chalk.red;
case 'Warn': return chalk.yellow;