From 6d09e1a5aea3240e7290be602ed03c88e38cd07d Mon Sep 17 00:00:00 2001 From: Chris Pearce Date: Sat, 2 Jan 2016 23:24:44 +0000 Subject: [PATCH] Add missing opts argument to Commander JS Added missing opts argument to arguments of the command function of Commander JS --- commander/commander.d.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/commander/commander.d.ts b/commander/commander.d.ts index cf04591bb0..d0efa63051 100644 --- a/commander/commander.d.ts +++ b/commander/commander.d.ts @@ -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