From d54fe4666ff036bbc1e74b817660039c3ab6e3dd Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Wed, 7 Dec 2022 02:16:37 -0500 Subject: [PATCH] *Types changed with chalk --- src/config.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/config.ts b/src/config.ts index c8f7ef4..c8a98e7 100644 --- a/src/config.ts +++ b/src/config.ts @@ -4,7 +4,7 @@ import * as os from "os"; import * as fs from "fs"; import path from "path"; import log from "loglevel"; -import chalk, { ChalkInstance } from "chalk"; +import chalk, { Chalk } from "chalk"; import prefix from "loglevel-plugin-prefix"; const config = new Config("lumeweb-relay"); @@ -62,7 +62,7 @@ const colors = { INFO: chalk.blue, WARN: chalk.yellow, ERROR: chalk.red, -} as { [level: string]: ChalkInstance }; +} as { [level: string]: Chalk }; prefix.reg(log); log.enableAll();