Defined in: FieldGroup/fieldGroupTypes.public.ts:27
Describes the value type and matching rule for one virtual field in a reusable field group.
Slots are type markers consumed by a field-group definition. Their properties are not available at runtime.
Create slots with FieldGroupHelper.strict or FieldGroupHelper.loose
inside a field-group definition instead of constructing them directly.
Type Parameters#
TValue#
TValue
The value type declared for the virtual field.
TMode#
TMode extends FieldGroupFieldSlotMode = FieldGroupFieldSlotMode
Library-managed. Do not specify explicitly.
Properties#
[fieldGroupFieldSlotValueSymbol]#
readonly [fieldGroupFieldSlotValueSymbol]: TValue;
Defined in: FieldGroup/fieldGroupTypes.public.ts:34
Preserves the declared value type for type-level inference.
mode#
readonly mode: TMode;
Defined in: FieldGroup/fieldGroupTypes.public.ts:32
Represents the slot's value-type matching rule at the type level.