Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes indentation of object literals with computed properties #7845

Merged

Conversation

rbuckton
Copy link
Member

@rbuckton rbuckton commented Apr 6, 2016

@DanielRosenwasser
Copy link
Member

👍

@@ -1637,6 +1637,9 @@ namespace ts {
const rightHandSideName = (<PropertyAccessExpression>nameExpression).name.text;
return getPropertyNameForKnownSymbolName(rightHandSideName);
}
if (isStringOrNumericLiteral(nameExpression.kind)) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, it does not.

@rbuckton rbuckton added the Domain: Transforms Relates to the public transform API label Apr 6, 2016
@rbuckton rbuckton merged commit 7b86dd5 into transforms-fixAccessorComments Apr 6, 2016
@rbuckton rbuckton deleted the transforms-fixObjectLiteralBody branch April 6, 2016 19:02
@microsoft microsoft locked and limited conversation to collaborators Jun 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Domain: Transforms Relates to the public transform API
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants