Skip to content

Commit

Permalink
fix(eventstream-handler-node): explicitly define type of err (#3240)
Browse files Browse the repository at this point in the history
  • Loading branch information
trivikr authored Jan 25, 2022
1 parent 6905901 commit 4098091
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ export class EventStreamPayloadHandler implements IEventStreamPayloadHandler {
eventSigner: await this.eventSigner(),
});

pipeline(payloadStream, signingStream, request.body, (err) => {
pipeline(payloadStream, signingStream, request.body, (err: NodeJS.ErrnoException | null) => {
if (err) {
throw err;
}
Expand Down

0 comments on commit 4098091

Please sign in to comment.