Skip to content

Commit

Permalink
Fix types to make cwd optional
Browse files Browse the repository at this point in the history
  • Loading branch information
wooorm committed Aug 9, 2021
1 parent 1b51b19 commit 35ff70a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/options.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
* @typedef {Required<
* Pick<
* EngineOptions,
* | 'cwd'
* | 'extensions'
* | 'ignoreName'
* | 'packageField'
Expand All @@ -23,7 +22,7 @@
* @property {string} version
* Version (semver) of executable
*
* @typedef {RequiredEngineOptions & ArgsOptionsFields} Options
* @typedef {RequiredEngineOptions & Pick<EngineOptions, 'cwd'> & ArgsOptionsFields} Options
*/

import table from 'text-table'
Expand Down

0 comments on commit 35ff70a

Please sign in to comment.