Fix no-void-expression (#20631)

This commit is contained in:
Alessandro Vergani 2017-10-17 17:38:53 +02:00 committed by Andy
parent fb93c75e47
commit f56bf1addf

View File

@ -6,7 +6,7 @@ const readable = new stream.Readable({objectMode: true});
writable._write = (input, encoding, done) => {
if (readable.push(input)) {
return done();
done();
} else {
readable.once('drain', <(...args: any[]) => void> done);
}