Skip to content

Commit c6a6619

Browse files
committed
Support ES6 imports in binder
1 parent 35583e6 commit c6a6619

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/compiler/binder.ts

+3
Original file line numberDiff line numberDiff line change
@@ -467,6 +467,9 @@ module ts {
467467
bindModuleDeclaration(<ModuleDeclaration>node);
468468
break;
469469
case SyntaxKind.ImportEqualsDeclaration:
470+
case SyntaxKind.ImportClause:
471+
case SyntaxKind.NamespaceImport:
472+
case SyntaxKind.ImportSpecifier:
470473
bindDeclaration(<Declaration>node, SymbolFlags.Import, SymbolFlags.ImportExcludes, /*isBlockScopeContainer*/ false);
471474
break;
472475
case SyntaxKind.SourceFile:

0 commit comments

Comments
 (0)