mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
doc: make options of readableStream.pipeTo as optional
Refs: https://github.com/nodejs/node/blob/main/lib/internal/webstreams/readablestream.js#L380 PR-URL: https://github.com/nodejs/node/pull/46180 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
@@ -273,7 +273,7 @@ const transformedStream = stream.pipeThrough(transform);
|
||||
})();
|
||||
```
|
||||
|
||||
#### `readableStream.pipeTo(destination, options)`
|
||||
#### `readableStream.pipeTo(destination[, options])`
|
||||
|
||||
<!-- YAML
|
||||
added: v16.5.0
|
||||
|
||||
Reference in New Issue
Block a user