Added TypeAliasDeclaration to exceptions for required top level declare modifier

This commit is contained in:
Julian Williams committed 2015-10-23 22:43:11 -04:00
1 parent c30ac53c66
commit a0939d962b
1 file changed
+1
+1
View File
@@ -15917,6 +15917,7 @@ namespace ts {
// export_opt AmbientDeclaration
//
if (node.kind === SyntaxKind.InterfaceDeclaration ||
node.kind === SyntaxKind.TypeAliasDeclaration ||
node.kind === SyntaxKind.ImportDeclaration ||
node.kind === SyntaxKind.ImportEqualsDeclaration ||
node.kind === SyntaxKind.ExportDeclaration ||