mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-11 20:40:20 +00:00
winston: Fix lint (#20832)
This commit is contained in:
Vendored
+1
-4
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user