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 Oct 30, 2023
1 parent 1392538 commit 63494a9
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 @@ -1456,10 +1456,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 63494a9

Please sign in to comment.