mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Adding fs.(Read|Write)Stream.close().
It's undocumented, but it is present in the source code and programs rely on it.
This commit is contained in:
@@ -91,6 +91,7 @@ function stream_readable_pipe_test() {
|
||||
var z = zlib.createGzip();
|
||||
var w = fs.createWriteStream('file.txt.gz');
|
||||
r.pipe(z).pipe(w);
|
||||
r.close();
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////
|
||||
|
||||
Reference in New Issue
Block a user