Skip to content

Commit 44f19ce

Browse files
Jungku Leetargos
Jungku Lee
authored andcommitted
fs: update param in jsdoc for readdir
PR-URL: #50448 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Yagiz Nizipli <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Deokjin Kim <[email protected]>
1 parent aed5900 commit 44f19ce

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/fs.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1456,10 +1456,11 @@ function readdirSyncRecursive(basePath, options) {
14561456
* @param {string | {
14571457
* encoding?: string;
14581458
* withFileTypes?: boolean;
1459+
* recursive?: boolean;
14591460
* }} [options]
14601461
* @param {(
14611462
* err?: Error,
1462-
* files?: string[] | Buffer[] | Direct[];
1463+
* files?: string[] | Buffer[] | Dirent[];
14631464
* ) => any} callback
14641465
* @returns {void}
14651466
*/

0 commit comments

Comments
 (0)