Skip to content

Commit 335110b

Browse files
deokjinkimjuanarbol
authored andcommittedJan 31, 2023
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 c4c8931 commit 335110b

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)