From 28e6dd3a9fd0db84953aa8d149d0a19fadc63554 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Fri, 18 Feb 2022 11:31:08 +0100 Subject: [PATCH] Add return type to getLogger MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- src/utils/Logger.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/Logger.ts b/src/utils/Logger.ts index a558adad..61a3ec0d 100644 --- a/src/utils/Logger.ts +++ b/src/utils/Logger.ts @@ -20,7 +20,7 @@ if (Configuration.getLogRotate()) { } let loggerInstance: Logger | null = null; -const getLogger = () => { +const getLogger = (): Logger => { if (!loggerInstance) { loggerInstance = createLogger({ level: Configuration.getLogLevel(), -- 2.34.1