[I] BaseType
Common identity and construction state shared by semantic types in the compiler graph.
Extended by
Section titled “Extended by”BooleanLiteralDecoratorEnumEnumMemberFunctionParameterBaseFunctionTypeInterfaceIntrinsicTypeModelModelPropertyNamespaceNumericLiteralOperationScalarScalarConstructorStringLiteralStringTemplateStringTemplateSpanLiteralStringTemplateSpanValueTemplateParameterTupleUnionUnionVariant
Properties
Section titled “Properties”| Property | Modifier | Type | Description |
|---|---|---|---|
creating? | public | true | If the type is currently being created. |
entityKind | readonly | "Type" | Distinguishes semantic types from values and parameter constraints. |
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. |
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) |
kind | public | string | Discriminant identifying the concrete semantic type. |
node? | public | Node | Node used to construct this type. If the node is undefined it means the type was dynamically built. With typekit for example. |