mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-15 11:35:42 -06: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:
parent
54a89ac026
commit
518f651656
@ -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
Loading…
x
Reference in New Issue
Block a user