Skip to content

Commit 721557c

Browse files
anonrigrichardlau
authored andcommitted
fs: add missing jsdoc parameters to readSync
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>
1 parent 3ce9aac commit 721557c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/fs.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -707,6 +707,8 @@ ObjectDefineProperty(read, kCustomPromisifyArgsSymbol,
707707
* length?: number;
708708
* position?: number | bigint | null;
709709
* }} [offsetOrOptions]
710+
* @param {number} [length]
711+
* @param {number} [position]
710712
* @returns {number}
711713
*/
712714
function readSync(fd, buffer, offsetOrOptions, length, position) {

0 commit comments

Comments
 (0)