mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-24 11:50:59 +08:00
Add indexer to option constructors in 'winston'.
This commit is contained in:
1 parent
fa8d9683f3
commit
5c69bdeb45
1 file changed
+10
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