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 221c0f3 commit bdb7640Copy full SHA for bdb7640
src/compiler/transformers/ts.ts
@@ -163,7 +163,7 @@ namespace ts {
163
(node.kind === SyntaxKind.ImportEqualsDeclaration &&
164
(<ImportEqualsDeclaration>node).moduleReference.kind === SyntaxKind.ExternalModuleReference)) {
165
// do not emit ES6 imports and exports since they are illegal inside a namespace
166
- return createNotEmittedStatement(node);
+ return undefined;
167
}
168
else if (node.transformFlags & TransformFlags.TypeScript || hasModifier(node, ModifierFlags.Export)) {
169
// This node is explicitly marked as TypeScript, or is exported at the namespace
0 commit comments