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 ab56779
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions types/log4js.d.ts
Expand Up @@ -402,9 +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 ab56779

Please sign in to comment.