small fix on indentation

This commit is contained in:
Kanchalai Tanglertsampan
2017-03-21 15:11:21 -07:00
parent 15ca0af646
commit 2332ea388e
+1 -1
View File
@@ -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) {