[I] ScalarConstructor
A named scalar initializer whose checked call produces a value of its associated scalar.
Extends
Section titled “Extends”Properties
Section titled “Properties”| Property | Modifier | Type | Description | Overrides | Inherited from |
|---|---|---|---|---|---|
creating? | public | true | If the type is currently being created. | - | BaseType.creating |
entityKind | readonly | "Type" | Distinguishes semantic types from values and parameter constraints. | - | BaseType.entityKind |
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. | - | BaseType.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) | - | BaseType.isFinished |
kind | public | "ScalarConstructor" | Discriminant for scalar initializer signatures. | BaseType.kind | - |
name | public | string | Initializer name used after the scalar name in a constructor call. | - | - |
node? | public | ScalarConstructorNode | Node used to construct this type. If the node is undefined it means the type was dynamically built. With typekit for example. | BaseType.node | - |
parameters | public | SignatureFunctionParameter[] | Parameter constraints in declaration order, including optional and rest parameters. | - | - |
scalar | public | Scalar | Scalar constructed by this signature, including when the signature was inherited. | - | - |