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
PR-URL: #51063
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Raz Luvaton <[email protected]>
Reviewed-By: Marco Ippolito <[email protected]>
Reviewed-By: Deokjin Kim <[email protected]>
  • Loading branch information
Jungku Lee authored and richardlau committed Mar 25, 2024
1 parent 8750070 commit bac982b
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 @@ -3092,6 +3092,7 @@ function lazyLoadStreams() {
* end?: number;
* highWaterMark?: number;
* fs?: object | null;
* signal?: AbortSignal | null;
* }} [options]
* @returns {ReadStream}
*/
Expand All @@ -3112,6 +3113,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 bac982b

Please sign in to comment.