Fix no-void-expression (#20631)

This commit is contained in:
Alessandro Vergani
2017-10-17 08:38:53 -07:00
committed by Andy
parent fb93c75e47
commit f56bf1addf
+1 -1
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);
}