Skip to content

Commit 4c88721

Browse files
deokjinkimRafaelGSS
authored andcommitted
doc: make options of readableStream.pipeTo as optional
Refs: https://github.com/nodejs/node/blob/main/lib/internal/webstreams/readablestream.js#L380 PR-URL: #46180 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent 7dc9a53 commit 4c88721

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api/webstreams.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ const transformedStream = stream.pipeThrough(transform);
273273
})();
274274
```
275275

276-
#### `readableStream.pipeTo(destination, options)`
276+
#### `readableStream.pipeTo(destination[, options])`
277277

278278
<!-- YAML
279279
added: v16.5.0

0 commit comments

Comments
 (0)