mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-19 16:49:45 +08:00
winston: Fix lint (#20832)
This commit is contained in:
5
types/winston/index.d.ts
vendored
5
types/winston/index.d.ts
vendored
@@ -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