Skip to content

Commit

Permalink
Add handleRejections to types (#44)
Browse files Browse the repository at this point in the history
  • Loading branch information
vonagam authored Jun 27, 2020
1 parent 63135aa commit 868d657
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ declare class TransportStream extends stream.Writable {
public level?: string;
public silent?: boolean;
public handleExceptions?: boolean;
public handleRejections?: boolean;

constructor(opts?: TransportStream.TransportStreamOptions);

Expand All @@ -27,6 +28,7 @@ declare namespace TransportStream {
level?: string;
silent?: boolean;
handleExceptions?: boolean;
handleRejections?: boolean;

log?(info: any, next: () => void): any;
logv?(info: any, next: () => void): any;
Expand Down

0 comments on commit 868d657

Please sign in to comment.