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:
parent
cf105c4db5
commit
96605796ef
@ -273,7 +273,7 @@ const transformedStream = stream.pipeThrough(transform);
|
||||
})();
|
||||
```
|
||||
|
||||
#### `readableStream.pipeTo(destination, options)`
|
||||
#### `readableStream.pipeTo(destination[, options])`
|
||||
|
||||
<!-- YAML
|
||||
added: v16.5.0
|
||||
|
Loading…
x
Reference in New Issue
Block a user