From a0939d962be86c9c6e3c0a7df0440824d2c8d8f0 Mon Sep 17 00:00:00 2001 From: Julian Williams Date: Fri, 23 Oct 2015 22:43:11 -0400 Subject: [PATCH] Added TypeAliasDeclaration to exceptions for required top level declare modifier --- src/compiler/checker.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/compiler/checker.ts b/src/compiler/checker.ts index 663825f1e84..c7317908273 100644 --- a/src/compiler/checker.ts +++ b/src/compiler/checker.ts @@ -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 ||