From 4c88721e2f8969b60e56540cb7b9db8cf483f324 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 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])`