mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
small fix on indentation
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user