winston: Fix lint (#20832)

This commit is contained in:
Andy
2017-10-23 07:34:02 -07:00
committed by GitHub
parent 6274f3d980
commit 6d9beb4956

View File

@@ -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.