mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-07-02 14:48:32 -05: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:
@@ -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