mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Add indexer to option constructors in 'winston'.
This commit is contained in:
Vendored
+10
@@ -98,6 +98,11 @@ declare module "winston" {
|
||||
* @type {(boolean|(err: Error) => void)}
|
||||
*/
|
||||
exitOnError?: any;
|
||||
|
||||
// TODO: Need to make instances specific,
|
||||
// and need to get options for each instance.
|
||||
// Unfortunately, the documentation is unhelpful.
|
||||
[optionName: string]: any;
|
||||
}
|
||||
|
||||
export interface TransportStatic {
|
||||
@@ -141,6 +146,11 @@ declare module "winston" {
|
||||
raw?: boolean;
|
||||
name?: string;
|
||||
handleExceptions?: boolean;
|
||||
|
||||
// TODO: Need to make instances specific,
|
||||
// and need to get options for each instance.
|
||||
// Unfortunately, the documentation is unhelpful.
|
||||
[optionName: string]: any;
|
||||
}
|
||||
|
||||
export interface QueryOptions {
|
||||
|
||||
Reference in New Issue
Block a user