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: nodejs#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 alexfernandez committed Nov 1, 2023
1 parent 8fc5e2b commit 9de91ec
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 9de91ec

Please sign in to comment.