[I] TypeRefValue
A value referencing an existing compiler type without copying it.
Its inferred storage type is TypeRef<T>; the precise referenced type is available through target.
Extends
Section titled “Extends”BaseValue
Properties
Section titled “Properties”| Property | Modifier | Type | Description | Overrides | Inherited from |
|---|---|---|---|---|---|
entityKind | readonly | "Value" | Distinguishes a concrete value from a type or parameter constraint. | - | BaseValue.entityKind |
target | public | Type | The referenced compiler type, preserving its original identity. | - | - |
type | public | Type | Represent the storage type of a value. Example const a = "hello"; // Type here would be "hello" const b: string = a; // Type here would be string const c: string | int32 = b; // Type here would be string | int32 | - | BaseValue.type |
valueKind | public | "TypeRefValue" | Identifies this value as a reference to a compiler type. | BaseValue.valueKind | - |