Skip to content

[I] SymbolLinks

Properties

PropertyTypeDescription
aliasedSymbol?SymThe symbol aliased by an alias symbol. When present, guaranteed to be a non-alias symbol. Will not be present when the name resolver could not determine a symbol for the alias, e.g. when it is a computed type.
aliasResolutionIsTemplate?boolean-
aliasResolutionResult?ResolutionResultFlagsThe result of resolving the aliased reference. When resolved, aliasedSymbol will contain the resolved symbol. Otherwise, aliasedSymbol may be present if the alias is a type literal with a symbol, otherwise it will be undefined.
constraintResolutionResult?ResolutionResultFlagsThe result of resolving the type parameter constraint. When resolved, constraintSymbol will contain the resolved symbol. Otherwise, constraintSymbol may be present if the constraint is a type literal with a symbol, otherwise it will be undefined.
constraintSymbol?SymThe symbol for the constraint of a type parameter. Will not be present when the name resolver could not determine a symbol for the constraint, e.g. when it is a computed type.
declaredType?TypeFor types that can be instanitated this is the type of the declaration
hasUnknownMembers?booleanWhen a symbol contains unknown members, symbol lookup during name resolution should always return unknown if it can’t definitely find a member.
instantiations?TypeInstantiationMapFor types that can be instanitated those are the types per instantiation
membersBound?booleanTrue if we have completed the early binding of member symbols for this model during the name resolution phase.
type?Type-
value?null | ValueFor const statements the value of the const