Skip to content

Commit 4091f71

Browse files
Jungku Leemarco-ippolito
Jungku Lee
authored andcommitted
fs: update jsdoc for filehandle.createWriteStream and appendFile
PR-URL: nodejs#51494 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Deokjin Kim <[email protected]>
1 parent b8e5f51 commit 4091f71

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

lib/fs.js

+1
Original file line numberDiff line numberDiff line change
@@ -2379,6 +2379,7 @@ function writeFileSync(path, data, options) {
23792379
* encoding?: string | null;
23802380
* mode?: number;
23812381
* flag?: string;
2382+
* flush?: boolean;
23822383
* } | string} [options]
23832384
* @param {(err?: Error) => any} callback
23842385
* @returns {void}

lib/internal/fs/promises.js

+1
Original file line numberDiff line numberDiff line change
@@ -365,6 +365,7 @@ class FileHandle extends EventEmitter {
365365
* autoClose?: boolean;
366366
* emitClose?: boolean;
367367
* start: number;
368+
* highWaterMark?: number;
368369
* flush?: boolean;
369370
* }} [options]
370371
* @returns {WriteStream}

0 commit comments

Comments
 (0)