Skip to content

StringElementConfig

The element config a collection factory assumes when given no element builder: an unconstrained string.

Signatures

ts
type StringElementConfig = unknown;

Members

Properties

elementEligible

Elements are element-eligible by construction.

ts
elementEligible: true;

flagKind

Element kind discriminator.

ts
flagKind: "string";

optionalFallback

Elements carry no fallback of their own.

ts
optionalFallback: "undefined";

presence

Elements carry no presence of their own.

ts
presence: "optional";

valueType

Element value type.

ts
valueType: string;

See Also

Released under the MIT License.