Making Logger def a class instead of interface.

Doing this allows for typescript and angular to use the class as a dependency injection object.
This commit is contained in:
Robert Van Gorkom 2018-06-02 12:08:45 -07:00 committed by GitHub
parent 64ef14a748
commit a1e40c229e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

2
types/log4js.d.ts vendored
View File

@ -424,7 +424,7 @@ export interface Configuration {
disableClustering?: boolean;
}
export interface Logger {
export class Logger {
new(dispatch: Function, name: string): Logger;
level: string;