From 93da936f14321b681d6e6ea66a9060f057a44e4d 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 7439e51c1ac1ce..c66c6aa2e00eb9 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}