From b8f71bde36c13550f266535e3ccdc5bdc900609e Mon Sep 17 00:00:00 2001 From: Julien Ripouteau Date: Tue, 16 Jan 2024 19:49:37 +0100 Subject: [PATCH] fix: wrong typing --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index 55c1bdb..e4cd711 100644 --- a/src/index.ts +++ b/src/index.ts @@ -26,7 +26,7 @@ function pinoLoki(userOptions: LokiOptions) { debug(`[PinoLoki] initialized with options: ${JSON.stringify(options)}`) - let batchInterval: NodeJS.Timer | undefined + let batchInterval: NodeJS.Timeout | undefined let pinoLogBuffer: PinoLog[] = [] return abstractTransportBuild(