Skip to content

Commit

Permalink
fix(api/commit): update type definitions to reflect optional options …
Browse files Browse the repository at this point in the history
…in `ls.dirs`
  • Loading branch information
jrolfs committed Feb 27, 2023
1 parent 6f208dd commit 33c2fcd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/commit.js
Expand Up @@ -56,7 +56,7 @@ const configs = path =>
* Enumerate one level of directories
*
* @param {string} path - directory to enumerate
* @param {DirsOptions} options -
* @param {DirsOptions} [options] - options
*/
const dirs = (path, options) => {
const {exclude, prefix} = {exclude: /^node_modules/, ...options}
Expand Down

0 comments on commit 33c2fcd

Please sign in to comment.