Use isLiteralComputedPropertyDeclarationName

This commit is contained in:
Nathan Shively-Sanders 2016-06-14 10:27:36 -07:00
parent 7bf40c4935
commit 102a890214

View file

@ -6741,7 +6741,7 @@ namespace ts {
fileName: node.getSourceFile().fileName, fileName: node.getSourceFile().fileName,
textSpan: createTextSpanFromBounds(start, end), textSpan: createTextSpanFromBounds(start, end),
isWriteAccess: isWriteAccess(node), isWriteAccess: isWriteAccess(node),
isDefinition: isDeclarationName(node) || node.parent.kind === SyntaxKind.ComputedPropertyName isDefinition: isDeclarationName(node) || isLiteralComputedPropertyDeclarationName(node)
}; };
} }