mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
Remove assert hit by chrome devtools+update baselines
Just return undefined instead. Gets rid of many errors in chrome devtools
This commit is contained in:
1 parent
54a89ac026
commit
518f651656
2 files changed
+2047
-10676
No files matched your search
@@ -2451,7 +2451,10 @@ namespace ts {
|
||||
}
|
||||
else {
|
||||
const s = getJSInitializerSymbol(forEachIdentifierInEntityName(e.expression, action));
|
||||
Debug.assert(!!s && !!s.exports);
|
||||
if (!s || !s.exports) {
|
||||
// Not a valid nested special assignment
|
||||
return undefined;
|
||||
}
|
||||
return action(e.name, s.exports.get(e.name.escapedText));
|
||||
}
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large.
Load diff
Reference in new issue
Block a user