1
0
Fork 0
mirror of https://github.com/muerwre/vk-tg-bot.git synced 2025-05-10 06:06:41 +07:00

#4 made strict type checking

This commit is contained in:
Fedor Katurov 2021-05-06 15:35:15 +07:00
parent 01211eae0f
commit 43aa09a88b
18 changed files with 138 additions and 82 deletions

View file

@ -6,7 +6,7 @@ const config = prepareConfig();
const logger = createLogger({
transports: new transports.Console({
format: format.simple(),
level: config.logger.level || "info",
level: config.logger?.level || "info",
}),
});