Skip to content

Commit d8bb4b2

Browse files
Jungku Leetargos
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 e3a6384 commit d8bb4b2

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

lib/fs.js

Lines changed: 1 addition & 0 deletions
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

Lines changed: 1 addition & 0 deletions
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)