From fae8b2982bc99c51fc2fdca68cf00c3af27c85b0 Mon Sep 17 00:00:00 2001 From: Extrem Techniker <extremtechniker15@gmail.com> Date: Thu, 28 Oct 2021 12:45:13 +0200 Subject: [PATCH] Fix logger.ts.d because in nodecg project the js-doc is not consistent but used down in a function and typescript complains about it --- types/lib/logger.d.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/types/lib/logger.d.ts b/types/lib/logger.d.ts index 4fefb4f..9168415 100644 --- a/types/lib/logger.d.ts +++ b/types/lib/logger.d.ts @@ -6,9 +6,7 @@ export class Logger { warn(...args: any[]): void; error(...args: any[]): void; replicants(...args: any[]): void; - static globalReconfigure( - opts: LoggerOptions & {file: {path: string}} - ): void; + static globalReconfigure(opts: LoggerOptions): void; } /** @@ -25,6 +23,7 @@ export interface LoggerOptions { enabled: boolean; timestamps: boolean; level: LoggerLevel; + path: string; }; }