Type Alias CrossReferencesOfAstNodeType<N>

CrossReferencesOfAstNodeType<N>: ExtractKeysOfValueType<N, Reference | Reference[]>

Describes a union type including only names(!) of the cross-reference properties of the given AstNode type. Enhances compile-time validation of cross-reference distinctions, e.g. in scope providers in combination with assertUnreachable(context.property).

Type Parameters