mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-11-18 20:11:14 +00:00
Fix build after merging #35862
This commit is contained in:
1 parent
3433434142
commit
f17174ceb0
2 files changed
+3
-3
No files matched your search
@@ -31622,7 +31622,7 @@ namespace ts {
|
||||
const childSymbol = getSymbolAtLocation(childNode);
|
||||
if (childSymbol && childSymbol === testedFunctionSymbol) {
|
||||
// If the test was a simple identifier, the above check is sufficient
|
||||
if (isIdentifier(ifStatement.expression)) {
|
||||
if (isIdentifier(condExpr)) {
|
||||
return true;
|
||||
}
|
||||
// Otherwise we need to ensure the symbol is called on the same target
|
||||
|
||||
Reference in new issue
Block a user