mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-11-18 20:11:14 +00:00
Rename symbol.name to escapedName and make name unescaped (#17412)
This commit is contained in:
1 parent
e515151ba4
commit
30d973bdcb
17 files changed
+147
-142
No files matched your search
@@ -54,7 +54,7 @@ namespace ts.NavigateTo {
|
||||
if (decl.kind === SyntaxKind.ImportClause || decl.kind === SyntaxKind.ImportSpecifier || decl.kind === SyntaxKind.ImportEqualsDeclaration) {
|
||||
const importer = checker.getSymbolAtLocation((decl as NamedDeclaration).name);
|
||||
const imported = checker.getAliasedSymbol(importer);
|
||||
return importer.name !== imported.name;
|
||||
return importer.escapedName !== imported.escapedName;
|
||||
}
|
||||
else {
|
||||
return true;
|
||||
|
||||
Reference in new issue
Block a user