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 <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: James M Snell <[email protected]>
  • Loading branch information
deokjinkim authored and juanarbol committed Jan 31, 2023
1 parent c4c8931 commit 335110b
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 335110b

Please sign in to comment.