From 1b7ccec5a782aa23a73d8f8eff0d7be81f06e2b8 Mon Sep 17 00:00:00 2001 From: Jungku Lee Date: Sun, 21 Jan 2024 00:55:00 +0900 Subject: [PATCH] fs: update jsdoc for `filehandle.createWriteStream` and `appendFile` PR-URL: https://github.com/nodejs/node/pull/51494 Reviewed-By: Luigi Pinca Reviewed-By: Deokjin Kim --- lib/fs.js | 1 + lib/internal/fs/promises.js | 1 + 2 files changed, 2 insertions(+) diff --git a/lib/fs.js b/lib/fs.js index 6a456bcd5acffb..256098cd213a4c 100644 --- a/lib/fs.js +++ b/lib/fs.js @@ -2379,6 +2379,7 @@ function writeFileSync(path, data, options) { * encoding?: string | null; * mode?: number; * flag?: string; + * flush?: boolean; * } | string} [options] * @param {(err?: Error) => any} callback * @returns {void} diff --git a/lib/internal/fs/promises.js b/lib/internal/fs/promises.js index 626ee8ad3f942f..bdefea99edfe3c 100644 --- a/lib/internal/fs/promises.js +++ b/lib/internal/fs/promises.js @@ -354,6 +354,7 @@ class FileHandle extends EventEmitterMixin(JSTransferable) { * autoClose?: boolean; * emitClose?: boolean; * start: number; + * highWaterMark?: number; * flush?: boolean; * }} [options] * @returns {WriteStream}