From 880fc77b88eed9ea3fa718f887e0ae54f64958f5 Mon Sep 17 00:00:00 2001 From: Hornwitser Date: Wed, 16 Aug 2023 15:35:52 +0200 Subject: [PATCH] Fix logger.child returning incorrect type --- packages/lib/src/logging.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/lib/src/logging.ts b/packages/lib/src/logging.ts index 8eac6098..03b08870 100644 --- a/packages/lib/src/logging.ts +++ b/packages/lib/src/logging.ts @@ -165,7 +165,8 @@ export const logger = winston.createLogger({ // into the type when you can define custom levels you want to support? export type Logger = Omit & { fatal: winston.LeveledLogMethod, error: winston.LeveledLogMethod, @@ -174,4 +175,5 @@ export type Logger = Omit