Skip to content

Commit

Permalink
Making Logger def a class instead of interface.
Browse files Browse the repository at this point in the history
Doing this allows for typescript and angular to use the class as a dependency injection object.
  • Loading branch information
vangorra committed Jun 2, 2018
1 parent 64ef14a commit a1e40c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types/log4js.d.ts
Expand Up @@ -424,7 +424,7 @@ export interface Configuration {
disableClustering?: boolean;
}

export interface Logger {
export class Logger {
new(dispatch: Function, name: string): Logger;

level: string;
Expand Down

0 comments on commit a1e40c2

Please sign in to comment.