diff --git a/lib/fs.js b/lib/fs.js index 00ca3f50acef53..22688f631daf88 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 42364c78c667cb..c8b8b640b07897 100644 --- a/lib/internal/fs/promises.js +++ b/lib/internal/fs/promises.js @@ -365,6 +365,7 @@ class FileHandle extends EventEmitter { * autoClose?: boolean; * emitClose?: boolean; * start: number; + * highWaterMark?: number; * flush?: boolean; * }} [options] * @returns {WriteStream}