Skip to content

Commit

Permalink
Fix: add missing type of batch http option (#2075)
Browse files Browse the repository at this point in the history
  • Loading branch information
KylinDC authored Feb 15, 2022
1 parent b2fde9d commit d1d9358
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/winston/transports/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,9 @@ declare namespace winston {
path?: string;
agent?: Agent;
headers?: object;
batch?: boolean;
batchInterval?: number;
batchCount?: number;
}

interface HttpTransportInstance extends Transport {
Expand Down

0 comments on commit d1d9358

Please sign in to comment.