From 34cf10542c996eab58ac8769286b7eb90373dd02 Mon Sep 17 00:00:00 2001 From: Ryan Cavanaugh Date: Thu, 3 Mar 2016 14:58:17 -0800 Subject: [PATCH] Lint --- src/compiler/binder.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compiler/binder.ts b/src/compiler/binder.ts index 7777b30bdd1..2cc48c02947 100644 --- a/src/compiler/binder.ts +++ b/src/compiler/binder.ts @@ -1417,7 +1417,7 @@ namespace ts { } else { const parent = node.parent as SourceFile; - + if (!isExternalModule(node.parent)) { file.bindDiagnostics.push(createDiagnosticForNode(node, Diagnostics.Global_module_exports_may_only_appear_in_module_files)); return;