Skip to content

Commit 6f9a062

Browse files
authored
feat(7411) - Replace helper to get namespaced name (#53876)
1 parent b269087 commit 6f9a062

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/compiler/binder.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ import {
8989
getEnclosingBlockScopeContainer,
9090
getErrorSpanForNode,
9191
getEscapedTextOfIdentifierOrLiteral,
92-
getEscapedTextOfJsxAttributeName,
92+
getEscapedTextOfJsxNamespacedName,
9393
getExpandoInitializer,
9494
getHostSignatureFromJSDoc,
9595
getImmediatelyInvokedFunctionExpression,
@@ -682,7 +682,7 @@ function createBinder(): (file: SourceFile, options: CompilerOptions) => void {
682682
return getSymbolNameForPrivateIdentifier(containingClassSymbol, name.escapedText);
683683
}
684684
if (isJsxNamespacedName(name)) {
685-
return getEscapedTextOfJsxAttributeName(name);
685+
return getEscapedTextOfJsxNamespacedName(name);
686686
}
687687
return isPropertyNameLiteral(name) ? getEscapedTextOfIdentifierOrLiteral(name) : undefined;
688688
}

0 commit comments

Comments
 (0)