mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-07-03 00:30:14 +00:00
Added test for choices parameter
This commit is contained in:
@@ -566,7 +566,7 @@ function Argv$commandObject() {
|
||||
alias: "string",
|
||||
array: true,
|
||||
boolean: true,
|
||||
choices: ["a", "b", "c"],
|
||||
choices: [undefined, false, "a", "b", "c"],
|
||||
coerce: f => JSON.stringify(f),
|
||||
config: true,
|
||||
configParser: t => JSON.parse(fs.readFileSync(t, "utf8")),
|
||||
|
||||
Reference in New Issue
Block a user