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:
Deokjin Kim authored and GitHub committed 2023-01-13 07:53:05 +00:00
1 parent cf105c4db5
commit 96605796ef
1 file changed
+1 -1
+1 -1
View File
@@ -273,7 +273,7 @@ const transformedStream = stream.pipeThrough(transform);
})();
```
#### `readableStream.pipeTo(destination, options)`
#### `readableStream.pipeTo(destination[, options])`
<!-- YAML
added: v16.5.0