mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 10:56:53 +00:00
Allow regular expression in option.
This commit is contained in:
parent
3fc1377ce2
commit
1ee4575106
2
commander/commander.d.ts
vendored
2
commander/commander.d.ts
vendored
@ -155,7 +155,7 @@ declare module commander {
|
||||
* @return {Command} for chaining
|
||||
* @api public
|
||||
*/
|
||||
option(flags:string, description?:string, fn?:(arg1:any, arg2:any)=>void, defaultValue?:any):ICommand;
|
||||
option(flags:string, description?:string, fn?:((arg1:any, arg2:any)=>void)|RegExp, defaultValue?:any):ICommand;
|
||||
option(flags:string, description?:string, defaultValue?:any):ICommand;
|
||||
|
||||
/**
|
||||
|
||||
Loading…
Reference in New Issue
Block a user