diff --git a/winston/winston.d.ts b/winston/winston.d.ts index 954e3358b..c816a533a 100644 --- a/winston/winston.d.ts +++ b/winston/winston.d.ts @@ -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 {