From a93f5d4aaa6b2018f2f42a87113ce758a0a9d526 Mon Sep 17 00:00:00 2001 From: KaKa <23028015+climba03003@users.noreply.github.com> Date: Sun, 21 Apr 2024 02:37:01 +0800 Subject: [PATCH] doc: correct stream.finished changes PR-URL: https://github.com/nodejs/node/pull/52551 Reviewed-By: Qingyu Deng Reviewed-By: Luigi Pinca Reviewed-By: Debadree Chatterjee --- doc/api/stream.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/doc/api/stream.md b/doc/api/stream.md index e28a688cfa6e0e..894d4f7593afd9 100644 --- a/doc/api/stream.md +++ b/doc/api/stream.md @@ -237,9 +237,16 @@ The `pipeline` API provides [callback version][stream-pipeline]: -* `stream` {Stream} +* `stream` {Stream|ReadableStream|WritableStream} A readable and/or writable + stream/webstream. * `options` {Object} * `error` {boolean|undefined} * `readable` {boolean|undefined}