From a1e40c229eef1cf9b9986bd08a9d9f2e71af2213 Mon Sep 17 00:00:00 2001 From: Robert Van Gorkom Date: Sat, 2 Jun 2018 12:08:45 -0700 Subject: [PATCH] Making Logger def a class instead of interface. Doing this allows for typescript and angular to use the class as a dependency injection object. --- types/log4js.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/log4js.d.ts b/types/log4js.d.ts index fb5b1d7b..1720ca15 100644 --- a/types/log4js.d.ts +++ b/types/log4js.d.ts @@ -424,7 +424,7 @@ export interface Configuration { disableClustering?: boolean; } -export interface Logger { +export class Logger { new(dispatch: Function, name: string): Logger; level: string;