diff --git a/src/compiler/parser.ts b/src/compiler/parser.ts index 33ab1dd1f13..309eac2b504 100644 --- a/src/compiler/parser.ts +++ b/src/compiler/parser.ts @@ -1858,7 +1858,9 @@ module ts { function isReusableModuleElement(node: Node) { if (node) { switch (node.kind) { + case SyntaxKind.ImportDeclaration: case SyntaxKind.ImportEqualsDeclaration: + case SyntaxKind.ExportDeclaration: case SyntaxKind.ExportAssignment: case SyntaxKind.ClassDeclaration: case SyntaxKind.InterfaceDeclaration: