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
else if (name.kind === SyntaxKind.PropertyAccessExpression) {
1980
1979
left = name.expression;
1981
1980
}
1982
1981
else {
@@ -2005,15 +2004,6 @@ namespace ts {
2005
2004
return undefined;
2006
2005
}
2007
2006
}
2008
-
else if (name.kind === SyntaxKind.ParenthesizedExpression) {
2009
-
// If the expression in parenthesizedExpression is not an entity-name (e.g. it is a call expression), it won't be able to successfully resolve the name.
2010
-
// This is the case when we are trying to do any language service operation in heritage clauses.
2011
-
// By return undefined, the getSymbolOfEntityNameOrPropertyAccessExpression will attempt to checkPropertyAccessExpression to resolve symbol.
2012
-
// i.e class C extends foo()./*do language service operation here*/B {}
2013
-
return isEntityNameExpression(name.expression) ?
2014
-
resolveEntityName(name.expression as EntityNameOrEntityNameExpression, meaning, ignoreErrors, dontResolveAlias, location) :
2015
-
undefined;
2016
-
}
2017
2007
else {
2018
2008
Debug.assertNever(name, "Unknown entity name kind.");
2019
2009
}
@@ -24203,8 +24193,8 @@ namespace ts {
24203
24193
}
24204
24194
}
24205
24195
24206
-
if (entityName.parent.kind === SyntaxKind.ExportAssignment && isEntityNameExpression(<Identifier | PropertyAccessExpression>entityName)) {
0 commit comments