StringArgElementConfig
The element config arg.keyValue() assumes when given no element builder: an unconstrained string.
- Import:
@kjanat/dreamcli - Export kind: type
- Declared in:
src/core/schema/arg.ts - Source link:
src/core/schema/arg.ts:143
Signatures
ts
type StringArgElementConfig = { valueType: string; presence: "required"; variadic: false; argKind: "string"; elementEligible: true; };Members
Members
valueType
Element value type.
ts
valueType: string;presence
Elements carry no presence of their own.
ts
presence: "required";variadic
Elements are never variadic on their own.
ts
variadic: false;argKind
Element kind discriminator.
ts
argKind: "string";elementEligible
Elements are element-eligible by construction.
ts
elementEligible: true;