From 2332ea388e6335fe84eaf94ce37c0858f251f4df Mon Sep 17 00:00:00 2001 From: Kanchalai Tanglertsampan Date: Tue, 21 Mar 2017 15:11:21 -0700 Subject: [PATCH] small fix on indentation --- src/compiler/checker.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compiler/checker.ts b/src/compiler/checker.ts index 3b9b9166589..d28d6bc48a1 100644 --- a/src/compiler/checker.ts +++ b/src/compiler/checker.ts @@ -14876,7 +14876,7 @@ namespace ts { const specifierType = checkExpression(node.specifier); if (!isTypeAssignableTo(specifierType, stringType)) { error(node.specifier, Diagnostics.Dynamic_import_s_specifier_must_be_of_type_string_but_here_has_type_0, typeToString(specifierType)); - } + } // resolveExternalModuleName will return undefined if the moduleReferenceExpression is not a string literal const moduleSymbol = resolveExternalModuleName(node, node.specifier); if (moduleSymbol) {