mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-12 21:10:23 +00:00
Merge pull request #7453 from ChrisPearce/Add-Missing-Opts-to-Commander-JS
Add missing opts argument to command function of Commander JS
This commit is contained in:
Vendored
+2
-1
@@ -65,10 +65,11 @@ declare module commander {
|
||||
*
|
||||
* @param {String} name
|
||||
* @param {String} [desc]
|
||||
* @param {Mixed} [opts]
|
||||
* @return {Command} the new command
|
||||
* @api public
|
||||
*/
|
||||
command(name:string, desc?:string):ICommand;
|
||||
command(name:string, desc?:string, opts?: any):ICommand;
|
||||
|
||||
/**
|
||||
* Add an implicit `help [cmd]` subcommand
|
||||
|
||||
Reference in New Issue
Block a user