From 1cb9893a50f394cda1ff49bacc0258a3747ed458 Mon Sep 17 00:00:00 2001 From: Ventsislav Dimitrov <4097884+vdmtrv@users.noreply.github.com> Date: Sat, 11 Jul 2020 22:38:54 +0100 Subject: [PATCH 1/2] fix: file appender types --- types/log4js.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/log4js.d.ts b/types/log4js.d.ts index 2fdc99ce..45e613f7 100644 --- a/types/log4js.d.ts +++ b/types/log4js.d.ts @@ -132,7 +132,7 @@ export interface FileAppender { backups?: number; // defaults to basic layout layout?: Layout; - numBackups?: number; + backups?: number; compress?: boolean; // compress the backups // keep the file extension when rotating logs keepFileExt?: boolean; From e14876a147870930b3940e2a7ba0b49bc1b9b2f1 Mon Sep 17 00:00:00 2001 From: Ventsislav Dimitrov <4097884+vdmtrv@users.noreply.github.com> Date: Sat, 11 Jul 2020 22:41:03 +0100 Subject: [PATCH 2/2] chore: remove duplicate backups type --- types/log4js.d.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/types/log4js.d.ts b/types/log4js.d.ts index 45e613f7..7c2c1856 100644 --- a/types/log4js.d.ts +++ b/types/log4js.d.ts @@ -132,7 +132,6 @@ export interface FileAppender { backups?: number; // defaults to basic layout layout?: Layout; - backups?: number; compress?: boolean; // compress the backups // keep the file extension when rotating logs keepFileExt?: boolean;