We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c4e747 commit c70fa1eCopy full SHA for c70fa1e
src/compiler/utilities.ts
@@ -4712,12 +4712,6 @@ namespace ts {
4712
case SpecialPropertyAssignmentKind.ModuleExports:
4713
return undefined;
4714
case SpecialPropertyAssignmentKind.ExportsProperty:
4715
- if (lhs.kind === SyntaxKind.Identifier) {
4716
- return (lhs as PropertyAccessExpression).name;
4717
- }
4718
- else {
4719
- return ((lhs as PropertyAccessExpression).expression as PropertyAccessExpression).name;
4720
4721
case SpecialPropertyAssignmentKind.ThisProperty:
4722
case SpecialPropertyAssignmentKind.Property:
4723
return (lhs as PropertyAccessExpression).name;
0 commit comments