[I] ArrayModelType
Model narrowed by isArrayModelType to have an integer-keyed indexer.
Extends
Section titled “Extends”Properties
Section titled “Properties”| Property | Modifier | Type | Description | Overrides | Inherited from |
|---|---|---|---|---|---|
baseModel? | public | Model | Model this model extends. This represent inheritance. | - | Model.baseModel |
creating? | public | true | If the type is currently being created. | - | Model.creating |
decorators | public | DecoratorApplication[] | Applications used when finishing this type, including copied or synthesized applications. | - | Model.decorators |
derivedModels | public | Model[] | Direct children. This is the reverse relation of baseModel | - | Model.derivedModels |
entityKind | readonly | "Type" | Distinguishes semantic types from values and parameter constraints. | - | Model.entityKind |
expression | public | boolean | Whether this model was declared in expression position (e.g. an anonymous model { ... } used as a type) rather than as a named statement. | - | Model.expression |
indexer | public | object | Indexer describing the array’s element type. | Model.indexer | - |
indexer.key | public | Scalar | Integer key scalar used for array positions. | - | - |
indexer.value | public | Type | Type of each array element. | - | - |
instantiationParameters? | public | Type[] | Legacy instantiation metadata. The compiler’s type checker does not populate this field, so its absence does not indicate whether this type is a template instance. | - | Model.instantiationParameters |
isFinished | public | boolean | Reflect if a type has been finished(Decorators have been called). There is multiple reasons a type might not be finished: - a template declaration will not - a template instance that argument that are still template parameters - a template instance that is only partially instantiated(like a templated operation inside a templated interface) | - | Model.isFinished |
kind | public | "Model" | Discriminant for structured model types. | - | Model.kind |
name | public | string | Declared name, or an empty string for an anonymous model. | - | Model.name |
namespace? | public | Namespace | Namespace containing a named declaration, when associated with one. | - | Model.namespace |
node? | public | | ModelStatementNode | ModelExpressionNode | ModelDeclarationExpressionNode | ObjectLiteralNode | IntersectionExpressionNode | Node used to construct this type. If the node is undefined it means the type was dynamically built. With typekit for example. | - | Model.node |
properties | public | RekeyableMap<string, ModelProperty> | The properties of the model. Properties are ordered in the order that they appear in source. Properties obtained via model is appear before properties defined in the model body. Properties obtained via ... are inserted where the spread appears in source. Properties inherited via model extends are not included. Use walkPropertiesInherited to enumerate all properties in the inheritance hierarchy. | - | Model.properties |
sourceModel? | public | Model | The model that is referenced via model is. | - | Model.sourceModel |
sourceModels | public | SourceModel[] | Models that were used to build this model. This include any model referenced in model is, ... or when intersecting models. | - | Model.sourceModels |
templateMapper? | public | TypeMapper | Argument substitutions for an instantiation; absent on an uninstantiated declaration. | - | Model.templateMapper |
templateNode? | public | Node | Originating template node, when retained separately from the type’s source node. | - | Model.templateNode |