Skip to content

Commit 33c2fcd

Browse files
committed
fix(api/commit): update type definitions to reflect optional options in ls.dirs
1 parent 6f208dd commit 33c2fcd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/api/commit.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ const configs = path =>
5656
* Enumerate one level of directories
5757
*
5858
* @param {string} path - directory to enumerate
59-
* @param {DirsOptions} options -
59+
* @param {DirsOptions} [options] - options
6060
*/
6161
const dirs = (path, options) => {
6262
const {exclude, prefix} = {exclude: /^node_modules/, ...options}

0 commit comments

Comments
 (0)