From 335110b0fb19814b473305075f04cd79ede1fb61 Mon Sep 17 00:00:00 2001 From: Deokjin Kim Date: Fri, 13 Jan 2023 16:53:05 +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 PR-URL: https://github.com/nodejs/node/pull/46180 Reviewed-By: Antoine du Hamel Reviewed-By: Luigi Pinca Reviewed-By: James M Snell --- 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 03bcde6304d991..ff220375bb802d 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])`