Skip to content

Commit 1b7ccec

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

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
@@ -354,6 +354,7 @@ class FileHandle extends EventEmitterMixin(JSTransferable) {
354354
* autoClose?: boolean;
355355
* emitClose?: boolean;
356356
* start: number;
357+
* highWaterMark?: number;
357358
* flush?: boolean;
358359
* }} [options]
359360
* @returns {WriteStream}

0 commit comments

Comments
 (0)