Skip to content

Commit

Permalink
Merge pull request #645 from garyking/types
Browse files Browse the repository at this point in the history
Fix `reject` type
  • Loading branch information
raineorshine authored Apr 7, 2020
2 parents 9a30593 + 441d175 commit ee0d5eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/npm-check-updates.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ declare namespace ncu {
* exclude packages matching the given string, comma-or-space-delimited
* list, or /regex/
*/
reject?: string;
reject?: string | string[] | RegExp;

/**
* remove version ranges from the final package version
Expand Down

0 comments on commit ee0d5eb

Please sign in to comment.