Skip to content

Commit 3ccaa0e

Browse files
committed
Cleanup
1 parent 99fc99f commit 3ccaa0e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/compiler/checker.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7096,9 +7096,8 @@ namespace ts {
70967096
// Look up the value in the current scope
70977097
if (node.tagName.kind === SyntaxKind.Identifier) {
70987098
let tag = <Identifier>node.tagName;
7099-
let maybeExportSymbol = getResolvedSymbol(<Identifier>node.tagName);
7099+
let maybeExportSymbol = getResolvedSymbol(tag);
71007100
let valueDecl = maybeExportSymbol.valueDeclaration;
7101-
71027101
valueSymbol = (valueDecl && valueDecl.localSymbol) || maybeExportSymbol;
71037102
}
71047103
else {

0 commit comments

Comments
 (0)