Skip to content

OptionDefinition.type property

Home > streplts > OptionDefinition > type

Defines the expected data type for the option’s value, which can be either a boolean (for flags) or a string (for options that require a value).

Signature:

type: "boolean" | "string";