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 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
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.