From b5bd00afcdbf9b316b84e093cbb68e64eeab3111 Mon Sep 17 00:00:00 2001 From: Yagiz Nizipli Date: Tue, 19 Dec 2023 16:23:29 -0500 Subject: [PATCH] fs: add missing jsdoc parameters to `readSync` --- lib/fs.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/fs.js b/lib/fs.js index 1329f68a62e16c..5baf2ce49011b6 100644 --- a/lib/fs.js +++ b/lib/fs.js @@ -703,6 +703,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) {