Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/argument.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ class Argument {
/**
* Set the default value, and optionally supply the description to be displayed in the help.
*
* @param {any} value
* @param {*} value
* @param {string} [description]
* @return {Argument}
*/
Expand Down
2 changes: 1 addition & 1 deletion lib/command.js
Original file line number Diff line number Diff line change
Expand Up @@ -519,7 +519,7 @@ Expecting one of '${allowedValues.join("', '")}'`);
*
* @param {Option | Argument} target
* @param {string} value
* @param {any} previous
* @param {*} previous
* @param {string} invalidArgumentMessage
* @api private
*/
Expand Down
6 changes: 3 additions & 3 deletions lib/option.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class Option {
/**
* Set the default value, and optionally supply the description to be displayed in the help.
*
* @param {any} value
* @param {*} value
* @param {string} [description]
* @return {Option}
*/
Expand All @@ -59,7 +59,7 @@ class Option {
* new Option('--color').default('GREYSCALE').preset('RGB');
* new Option('--donate [amount]').preset('20').argParser(parseFloat);
*
* @param {any} arg
* @param {*} arg
* @return {Option}
*/

Expand Down Expand Up @@ -275,7 +275,7 @@ class DualOptions {
/**
* Did the value come from the option, and not from possible matching dual option?
*
* @param {any} value
* @param {*} value
* @param {Option} option
* @returns {boolean}
*/
Expand Down