diff --git a/examples/bsmtp-client-ts.ts b/examples/bsmtp-client-ts.ts index 22a3276..5689e0a 100644 --- a/examples/bsmtp-client-ts.ts +++ b/examples/bsmtp-client-ts.ts @@ -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)