diff --git a/src/compiler/binder.ts b/src/compiler/binder.ts index 83420091a5a..bec686e4f8b 100644 --- a/src/compiler/binder.ts +++ b/src/compiler/binder.ts @@ -467,6 +467,9 @@ module ts { bindModuleDeclaration(node); break; case SyntaxKind.ImportEqualsDeclaration: + case SyntaxKind.ImportClause: + case SyntaxKind.NamespaceImport: + case SyntaxKind.ImportSpecifier: bindDeclaration(node, SymbolFlags.Import, SymbolFlags.ImportExcludes, /*isBlockScopeContainer*/ false); break; case SyntaxKind.SourceFile: