From 213954200f3572259b20759df16356073396ed24 Mon Sep 17 00:00:00 2001 From: Deokjin Kim Date: Thu, 12 Jan 2023 15:31:31 +0900 Subject: [PATCH] doc: make options of readableStream.pipeTo as optional Refs: https://github.com/nodejs/node/blob/main/lib/internal/webstreams/readablestream.js#L380 --- doc/api/webstreams.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/webstreams.md b/doc/api/webstreams.md index c8c2b845c9ad6e..f4d757464467bb 100644 --- a/doc/api/webstreams.md +++ b/doc/api/webstreams.md @@ -273,7 +273,7 @@ const transformedStream = stream.pipeThrough(transform); })(); ``` -#### `readableStream.pipeTo(destination, options)` +#### `readableStream.pipeTo(destination[, options])`