From 9e896aedce7efae16d271e067b5c35892f399f39 Mon Sep 17 00:00:00 2001 From: Lam Wei Li Date: Thu, 27 Jan 2022 22:40:58 +0800 Subject: [PATCH] fix(types): Logger constructor --- types/log4js.d.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/types/log4js.d.ts b/types/log4js.d.ts index ec26cc1e..ca9cd8e7 100644 --- a/types/log4js.d.ts +++ b/types/log4js.d.ts @@ -338,10 +338,10 @@ export interface Recording { } export class Logger { - new(dispatch: Function, name: string): Logger; + constructor(name: string); - readonly category: string; - level: Level | string; + readonly category: string; + level: Level | string; log(level: Level | string, ...args: any[]): void;