Skip to content

Commit

Permalink
Merge pull request #1072 from saulzhong/master
Browse files Browse the repository at this point in the history
fix(types): add defaultLevel parameter declaration to the function ge…
  • Loading branch information
lamweili committed Jan 10, 2022
2 parents 8f2e528 + d5dcf97 commit 82e38b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types/log4js.d.ts
Expand Up @@ -272,7 +272,7 @@ export interface Levels {
FATAL: Level;
OFF: Level;
levels: Level[];
getLevel(level: string): Level;
getLevel(level: Level | string, defaultLevel: Level): Level;
addLevels(customLevels: object): void;
}

Expand Down

0 comments on commit 82e38b2

Please sign in to comment.