Fixed style issue.

This commit is contained in:
Eric Traut 2023-05-19 17:31:27 -07:00
parent b971a0c689
commit c2bf866d41

View File

@ -11670,9 +11670,7 @@ export function createTypeEvaluator(importLookup: ImportLookup, evaluatorOptions
const firstArg = argList[0];
if (firstArg.valueExpression && firstArg.valueExpression.nodeType === ParseNodeType.StringList) {
const typeAliasName = firstArg.valueExpression.strings
.map((s) => s.value)
.join('');
const typeAliasName = firstArg.valueExpression.strings.map((s) => s.value).join('');
if (typeAliasName !== nameNode.value) {
addError(Localizer.Diagnostic.typeAliasTypeNameMismatch(), firstArg.valueExpression);
}