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 targos committed Nov 14, 2023
1 parent aed5900 commit 44f19ce
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 44f19ce

Please sign in to comment.