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 <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 aed5900 commit 44f19ce

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
@@ -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)