Skip to content

Commit

Permalink
doc: make options of readableStream.pipeTo as optional
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
deokjinkim authored and RafaelGSS committed Jan 20, 2023
1 parent 7dc9a53 commit 4c88721
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api/webstreams.md
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ const transformedStream = stream.pipeThrough(transform);
})();
```

#### `readableStream.pipeTo(destination, options)`
#### `readableStream.pipeTo(destination[, options])`

<!-- YAML
added: v16.5.0
Expand Down

0 comments on commit 4c88721

Please sign in to comment.