Skip to content

Commit d1b6bd6

Browse files
Jungku LeeUlisesGascon
Jungku Lee
authored andcommitted
fs: update param in jsdoc for readdir
PR-URL: #50448 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Deokjin Kim <deokjin81.kim@gmail.com>
1 parent 685f936 commit d1b6bd6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/fs.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -1454,10 +1454,11 @@ function readdirSyncRecursive(basePath, options) {
14541454
* @param {string | {
14551455
* encoding?: string;
14561456
* withFileTypes?: boolean;
1457+
* recursive?: boolean;
14571458
* }} [options]
14581459
* @param {(
14591460
* err?: Error,
1460-
* files?: string[] | Buffer[] | Direct[];
1461+
* files?: string[] | Buffer[] | Dirent[];
14611462
* ) => any} callback
14621463
* @returns {void}
14631464
*/

0 commit comments

Comments
 (0)