You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// This function assumes that an identifier or qualified name is a type expression
14390
+
// This function assumes that an identifier, qualified name, or property access expression is a type expression
14391
14391
// Callers should first ensure this by calling `isPartOfTypeNode`
14392
14392
// TODO(rbuckton): These aren't valid TypeNodes, but we treat them as such because of `isPartOfTypeNode`, which returns `true` for things that aren't `TypeNode`s.
14393
14393
case SyntaxKind.Identifier as TypeNodeSyntaxKind:
14394
14394
case SyntaxKind.QualifiedName as TypeNodeSyntaxKind:
14395
+
case SyntaxKind.PropertyAccessExpression as TypeNodeSyntaxKind:
14395
14396
const symbol = getSymbolAtLocation(node);
14396
14397
return symbol ? getDeclaredTypeOfSymbol(symbol) : errorType;
0 commit comments