fs: update jsdoc for filehandle.createWriteStream
and appendFile
PR-URL: https://github.com/nodejs/node/pull/51494 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Deokjin Kim <deokjin81.kim@gmail.com>
This commit is contained in:
parent
880c90c873
commit
27d839f468
@ -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}
|
||||
|
@ -365,6 +365,7 @@ class FileHandle extends EventEmitter {
|
||||
* autoClose?: boolean;
|
||||
* emitClose?: boolean;
|
||||
* start: number;
|
||||
* highWaterMark?: number;
|
||||
* flush?: boolean;
|
||||
* }} [options]
|
||||
* @returns {WriteStream}
|
||||
|
Loading…
x
Reference in New Issue
Block a user