We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 40d08df commit 14e05cdCopy full SHA for 14e05cd
src/compiler/transformers/es5.ts
@@ -63,7 +63,7 @@ namespace ts {
63
* @param node The node to substitute.
64
*/
65
function onSubstituteNode(emitContext: EmitContext, node: Node) {
66
- if (node.id && noSubstitution[node.id]) {
+ if (node.id && noSubstitution && noSubstitution[node.id]) {
67
return previousOnSubstituteNode(emitContext, node);
68
}
69
0 commit comments