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 <[email protected]>
Reviewed-By: Yagiz Nizipli <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Deokjin Kim <[email protected]>
  • 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.