From 27529f1d38584189b98e57a526d3854216ab5c45 Mon Sep 17 00:00:00 2001 From: Anders Hejlsberg Date: Mon, 23 Feb 2015 11:23:40 -0800 Subject: [PATCH] Addressing CR feedback --- src/compiler/parser.ts | 2 ++ 1 file changed, 2 insertions(+) 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: