[I] TypeMapper
Substitutes template parameters with arguments while constructing a template instance.
Properties
Section titled “Properties”| Property | Type | Description |
|---|---|---|
args | readonly ( | Type | Value | IndeterminateEntity)[] | Arguments for this instantiation, with enclosing template arguments first. |
partial | boolean | Whether enclosing arguments have been applied but this template is not fully instantiated. |
Methods
Section titled “Methods”getMappedType()
Section titled “getMappedType()”getMappedType(type): | Type | Value | IndeterminateEntity;Return the mapped argument, or the original parameter when no substitution is available.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
type | TemplateParameter |
Returns
Section titled “Returns”| Type
| Value
| IndeterminateEntity