Skip to content

Commit 102a890

Browse files
committed
Use isLiteralComputedPropertyDeclarationName
1 parent 7bf40c4 commit 102a890

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/services/services.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6741,7 +6741,7 @@ namespace ts {
67416741
fileName: node.getSourceFile().fileName,
67426742
textSpan: createTextSpanFromBounds(start, end),
67436743
isWriteAccess: isWriteAccess(node),
6744-
isDefinition: isDeclarationName(node) || node.parent.kind === SyntaxKind.ComputedPropertyName
6744+
isDefinition: isDeclarationName(node) || isLiteralComputedPropertyDeclarationName(node)
67456745
};
67466746
}
67476747

0 commit comments

Comments
 (0)