mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-05 16:38:05 -06:00
Cleanup
This commit is contained in:
parent
99fc99f3bc
commit
3ccaa0ee26
@ -7096,9 +7096,8 @@ namespace ts {
|
||||
// Look up the value in the current scope
|
||||
if (node.tagName.kind === SyntaxKind.Identifier) {
|
||||
let tag = <Identifier>node.tagName;
|
||||
let maybeExportSymbol = getResolvedSymbol(<Identifier>node.tagName);
|
||||
let maybeExportSymbol = getResolvedSymbol(tag);
|
||||
let valueDecl = maybeExportSymbol.valueDeclaration;
|
||||
|
||||
valueSymbol = (valueDecl && valueDecl.localSymbol) || maybeExportSymbol;
|
||||
}
|
||||
else {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user