From cd2d5e1c92c1daaf1b59afab701fce32fbee8362 Mon Sep 17 00:00:00 2001 From: Valerii Sidorenko Date: Fri, 1 Sep 2023 12:55:07 +0200 Subject: [PATCH] fix(types): use correct type of isTrueEnvValue (#33) --- src/nodekit.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nodekit.ts b/src/nodekit.ts index 49048fa..08408ec 100644 --- a/src/nodekit.ts +++ b/src/nodekit.ts @@ -35,7 +35,7 @@ export class NodeKit { redactSensitiveKeys: SensitiveKeysRedacter; redactSensitiveQueryParams: SensitiveQueryParamsRedacter; redactSensitiveHeaders: SensitiveHeadersRedacter; - isTrueEnvValue: (arg: string) => boolean; + isTrueEnvValue: typeof isTrueEnvValue; }; private logger: pino.Logger;