mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-11 20:40:20 +00:00
command-line-commands - optional param fix
This commit is contained in:
+1
-1
@@ -11,7 +11,7 @@
|
||||
* @returns {{ command: string, argv: string[] }}
|
||||
* @throws `INVALID_COMMAND` - user supplied a command not specified in `commands`.
|
||||
*/
|
||||
declare function commandLineCommands(commands: (string | null)[], argv: string[]): { command: string | null, argv: string[] };
|
||||
declare function commandLineCommands(commands: (string | null)[], argv?: string[]): { command: string | null, argv: string[] };
|
||||
|
||||
export = commandLineCommands;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user