mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-18 16:34:36 -05:00
Cleanup
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user