From 42b238ec9ac2265a3887abe683bed9302a6fd307 Mon Sep 17 00:00:00 2001 From: Jungku Lee Date: Fri, 8 Dec 2023 04:42:45 +0900 Subject: [PATCH] fs: update params in jsdoc for createReadStream and createWriteStream PR-URL: https://github.com/nodejs/node/pull/51063 Reviewed-By: Luigi Pinca Reviewed-By: Raz Luvaton Reviewed-By: Marco Ippolito Reviewed-By: Deokjin Kim --- lib/fs.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/fs.js b/lib/fs.js index c26979a65e0664..34ad6ef6be835b 100644 --- a/lib/fs.js +++ b/lib/fs.js @@ -3092,6 +3092,7 @@ function lazyLoadStreams() { * end?: number; * highWaterMark?: number; * fs?: object | null; + * signal?: AbortSignal | null; * }} [options] * @returns {ReadStream} */ @@ -3112,6 +3113,8 @@ function createReadStream(path, options) { * emitClose?: boolean; * start: number; * fs?: object | null; + * signal?: AbortSignal | null; + * highWaterMark?: number; * flush?: boolean; * }} [options] * @returns {WriteStream}