From c2bf866d412de1387f48f7720116314631db1197 Mon Sep 17 00:00:00 2001 From: Eric Traut Date: Fri, 19 May 2023 17:31:27 -0700 Subject: [PATCH] Fixed style issue. --- packages/pyright-internal/src/analyzer/typeEvaluator.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/pyright-internal/src/analyzer/typeEvaluator.ts b/packages/pyright-internal/src/analyzer/typeEvaluator.ts index c5de9b9b2..ff4e60b86 100644 --- a/packages/pyright-internal/src/analyzer/typeEvaluator.ts +++ b/packages/pyright-internal/src/analyzer/typeEvaluator.ts @@ -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); }