Skip to content

Commit

Permalink
fs: update param in jsdoc for readdir
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jungku Lee authored and UlisesGascon committed Dec 11, 2023
1 parent 685f936 commit d1b6bd6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/fs.js
Original file line number Diff line number Diff line change
Expand Up @@ -1454,10 +1454,11 @@ function readdirSyncRecursive(basePath, options) {
* @param {string | {
* encoding?: string;
* withFileTypes?: boolean;
* recursive?: boolean;
* }} [options]
* @param {(
* err?: Error,
* files?: string[] | Buffer[] | Direct[];
* files?: string[] | Buffer[] | Dirent[];
* ) => any} callback
* @returns {void}
*/
Expand Down

0 comments on commit d1b6bd6

Please sign in to comment.