Skip to content

Commit c87e5d5

Browse files
anonrigRafaelGSS
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 e24249c commit c87e5d5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/fs.js

+2
Original file line numberDiff line numberDiff line change
@@ -706,6 +706,8 @@ ObjectDefineProperty(read, kCustomPromisifyArgsSymbol,
706706
* length?: number;
707707
* position?: number | bigint | null;
708708
* }} [offsetOrOptions]
709+
* @param {number} [length]
710+
* @param {number} [position]
709711
* @returns {number}
710712
*/
711713
function readSync(fd, buffer, offsetOrOptions, length, position) {

0 commit comments

Comments
 (0)