Skip to content

Commit

Permalink
Better workaround for bad @types/node
Browse files Browse the repository at this point in the history
  • Loading branch information
dex4er committed Oct 17, 2017
1 parent cde75d8 commit a1f87d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/bsmtp-client-ts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ const port = Number(process.argv[3]) || 25

const socket = new PromiseDuplex(new net.Socket())
const stdin = new PromiseReadable(byline(process.stdin, { keepEmptyLines: true }))
const stdout = new PromiseWritable(process.stdout as NodeJS.WritableStream)
const stdout = new PromiseWritable(process.stdout as any)

socket.stream.connect(port, host, client)

Expand Down

0 comments on commit a1f87d3

Please sign in to comment.