Skip to content

Commit

Permalink
fix: types of logger
Browse files Browse the repository at this point in the history
  • Loading branch information
taozi0818 committed Jul 6, 2022
1 parent 3582a00 commit d06414c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions types/log4js.d.ts
Expand Up @@ -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;
Expand Down

0 comments on commit d06414c

Please sign in to comment.