Skip to content

Commit

Permalink
fs: update params in jsdoc for createReadStream and createWriteStream
Browse files Browse the repository at this point in the history
  • Loading branch information
pluris committed Dec 5, 2023
1 parent 1e31a01 commit addb49f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/fs.js
Original file line number Diff line number Diff line change
Expand Up @@ -3096,6 +3096,7 @@ function lazyLoadStreams() {
* end?: number;
* highWaterMark?: number;
* fs?: object | null;
* signal?: AbortSignal | null;
* }} [options]
* @returns {ReadStream}
*/
Expand All @@ -3116,6 +3117,8 @@ function createReadStream(path, options) {
* emitClose?: boolean;
* start: number;
* fs?: object | null;
* signal?: AbortSignal | null;
* highWaterMark?: number;
* flush?: boolean;
* }} [options]
* @returns {WriteStream}
Expand Down

0 comments on commit addb49f

Please sign in to comment.