Skip to content

Commit

Permalink
fs: add missing jsdoc parameters to readSync
Browse files Browse the repository at this point in the history
PR-URL: #51225
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
  • Loading branch information
anonrig authored and richardlau committed Mar 25, 2024
1 parent 3ce9aac commit 721557c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/fs.js
Original file line number Diff line number Diff line change
Expand Up @@ -707,6 +707,8 @@ ObjectDefineProperty(read, kCustomPromisifyArgsSymbol,
* length?: number;
* position?: number | bigint | null;
* }} [offsetOrOptions]
* @param {number} [length]
* @param {number} [position]
* @returns {number}
*/
function readSync(fd, buffer, offsetOrOptions, length, position) {
Expand Down

0 comments on commit 721557c

Please sign in to comment.