API/ListParamOptions
ListParamOptions
src/types/list-param-options.type.tstype
Options for listParam().
Properties
Section titled “Properties”| Property | Type | Description |
|---|---|---|
default |
readonly NoInfer<T>[] |
The items used when the key is absent or holds no accepted item. [] when left out. |
separator |
string |
Splits one value into items, and joins items into one value. , when left out. |
values |
EnumValues<T> |
The items accepted. Any non-empty string when left out. |
