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 RafaelGSS committed Jan 2, 2024
1 parent e24249c commit c87e5d5
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 @@ -706,6 +706,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 c87e5d5

Please sign in to comment.