doc: make options of readableStream.pipeTo as optional

Refs: https://github.com/nodejs/node/blob/main/lib/internal/webstreams/readablestream.js#L380
PR-URL: https://github.com/nodejs/node/pull/46180
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
Deokjin Kim 2023-01-13 16:53:05 +09:00 committed by GitHub
parent cf105c4db5
commit 96605796ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -273,7 +273,7 @@ const transformedStream = stream.pipeThrough(transform);
})();
```
#### `readableStream.pipeTo(destination, options)`
#### `readableStream.pipeTo(destination[, options])`
<!-- YAML
added: v16.5.0