From 6d9beb4956fb26509f6f66cfa2ec0572775c27e2 Mon Sep 17 00:00:00 2001 From: Andy Date: Mon, 23 Oct 2017 07:34:02 -0700 Subject: [PATCH] winston: Fix lint (#20832) --- types/winston/index.d.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/types/winston/index.d.ts b/types/winston/index.d.ts index b4c888965a..3de43e4349 100644 --- a/types/winston/index.d.ts +++ b/types/winston/index.d.ts @@ -242,10 +242,7 @@ declare namespace winston { level?: string; levels?: AbstractConfigSetLevels; - /** - * @type {(boolean|(err: Error) => void)} - */ - exitOnError?: any; + exitOnError?: boolean | ((err: Error) => void); // TODO: Need to make instances specific, // and need to get options for each instance.