mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-11 06:02:53 -05:00
Use isLiteralComputedPropertyDeclarationName
This commit is contained in:
@@ -6741,7 +6741,7 @@ namespace ts {
|
||||
fileName: node.getSourceFile().fileName,
|
||||
textSpan: createTextSpanFromBounds(start, end),
|
||||
isWriteAccess: isWriteAccess(node),
|
||||
isDefinition: isDeclarationName(node) || node.parent.kind === SyntaxKind.ComputedPropertyName
|
||||
isDefinition: isDeclarationName(node) || isLiteralComputedPropertyDeclarationName(node)
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user