fix: types of logger

This commit is contained in:
Taoz1 2022-07-01 10:52:28 +08:00
parent 3582a00747
commit d06414cee9

4
types/log4js.d.ts vendored
View File

@ -402,8 +402,8 @@ export interface Recording {
erase(): void;
}
export class Logger {
constructor(name: string);
export interface Logger {
new (name: string): Logger;
readonly category: string;
level: Level | string;