This commit is contained in:
Erik 2023-02-12 16:20:28 +02:00
parent 6005e0735f
commit cdab7930cd
Signed by: Navy.gif
GPG Key ID: 2532FBBB61C65A68

View File

@ -57,7 +57,7 @@ class CommandOption implements ICommandOption {
this.choices = def.choices || []; this.choices = def.choices || [];
this.strict = def.strict || false; this.strict = def.strict || false;
this.type = def.type || OptionType.STRING; this.type = def.type ?? OptionType.STRING;
this.flag = def.flag || false; this.flag = def.flag || false;
this.valueOptional = def.valueOptional || false; this.valueOptional = def.valueOptional || false;