Skip to content

[I] TypeMapper

Substitutes template parameters with arguments while constructing a template instance.

PropertyTypeDescription
argsreadonly ( | Type | Value | IndeterminateEntity)[]Arguments for this instantiation, with enclosing template arguments first.
partialbooleanWhether enclosing arguments have been applied but this template is not fully instantiated.
getMappedType(type):
| Type
| Value
| IndeterminateEntity;

Return the mapped argument, or the original parameter when no substitution is available.

ParameterType
typeTemplateParameter

| Type | Value | IndeterminateEntity