Skip to content

Commit

Permalink
fs: update jsdoc for filehandle.createWriteStream and appendFile
Browse files Browse the repository at this point in the history
PR-URL: #51494
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Deokjin Kim <deokjin81.kim@gmail.com>
  • Loading branch information
Jungku Lee authored and richardlau committed Mar 25, 2024
1 parent a5afad2 commit 1b7ccec
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/fs.js
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down
1 change: 1 addition & 0 deletions lib/internal/fs/promises.js
Original file line number Diff line number Diff line change
Expand Up @@ -354,6 +354,7 @@ class FileHandle extends EventEmitterMixin(JSTransferable) {
* autoClose?: boolean;
* emitClose?: boolean;
* start: number;
* highWaterMark?: number;
* flush?: boolean;
* }} [options]
* @returns {WriteStream}
Expand Down

0 comments on commit 1b7ccec

Please sign in to comment.