Skip to content
This repository has been archived by the owner on Jul 15, 2023. It is now read-only.

Fix #353: react-tsx-curly-spacing bug with comments #533

Conversation

br1anchen
Copy link
Contributor

@br1anchen br1anchen commented Oct 8, 2018

Bug caused by empty {} node when it only contains comments

Fixes #353

Copy link

@JoshuaKGoldberg JoshuaKGoldberg left a comment

Choose a reason for hiding this comment

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

Super, thanks @br1anchen!

I was confused at first why 2, but if { and } are each children, that seems reasonable.

@JoshuaKGoldberg JoshuaKGoldberg merged commit 1706244 into microsoft:master Oct 8, 2018
@JoshuaKGoldberg JoshuaKGoldberg added this to the 6.0.0 milestone Nov 6, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants