Skip to content

[I] MixedParameterConstraint

A parameter constraint with independent type and value alternatives. A valueof alternative constrains a value’s type rather than accepting the type itself.

PropertyModifierTypeDescription
entityKindreadonly"MixedParameterConstraint"Distinguishes this constraint from a type, value, or unresolved literal entity.
node?readonlyExpressionSource expression defining the constraint, when available.
type?readonlyTypeType constraints
valueType?readonlyTypeExpecting value