mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-12-03 19:51:53 +00:00
Minor tweaks.
This commit is contained in:
+4
-3
@@ -6,6 +6,7 @@
|
||||
/// <reference path="../winston/winston.d.ts" />
|
||||
|
||||
import * as winston from 'winston';
|
||||
import { TransportInstance } from 'winston';
|
||||
export interface DynamoDBTransportOptions {
|
||||
useEnvironment?: boolean;
|
||||
accessKeyId?: string;
|
||||
@@ -15,10 +16,10 @@ export interface DynamoDBTransportOptions {
|
||||
level: string;
|
||||
dynamoDoc?: boolean;
|
||||
}
|
||||
export interface DynamoDBTransportInstance extends winston.TransportInstance {
|
||||
export interface DynamoDBTransportInstance extends TransportInstance {
|
||||
new (options?: DynamoDBTransportOptions): DynamoDBTransportInstance;
|
||||
}
|
||||
export declare class DynamoDB extends winston.Transport implements winston.TransportInstance {
|
||||
export declare class DynamoDB extends winston.Transport implements DynamoDBTransportInstance {
|
||||
regions: string[];
|
||||
name: string;
|
||||
level: string;
|
||||
@@ -26,7 +27,7 @@ export declare class DynamoDB extends winston.Transport implements winston.Trans
|
||||
AWS: any;
|
||||
region: string;
|
||||
tableName: string;
|
||||
dynamoDoc: any;
|
||||
dynamoDoc: boolean;
|
||||
constructor(options?: DynamoDBTransportOptions);
|
||||
log(level: any, msg: any, meta: any, callback: any): any;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user