-
Notifications
You must be signed in to change notification settings - Fork 13k
Closed
Labels
BugA bug in TypeScriptA bug in TypeScriptDomain: FormatterThe issue relates to the built-in formatterThe issue relates to the built-in formatterFixedA PR has been merged for this issueA PR has been merged for this issue
Milestone
Description
TypeScript Version: 2.7.0-dev.20171208
Code
const frag = (
<>
<p>text</p>
</>
)
Run Format
Expected behavior:
Child is indented:
const frag = (
<>
<p>text</p>
</>
)
This is consistent with what we do for:
const frag = (
<React.Fragment>
<p>text</p>
</React.Fragment>
)
Actual behavior:
No change. Child will be de-indented if it was previously indented
Metadata
Metadata
Assignees
Labels
BugA bug in TypeScriptA bug in TypeScriptDomain: FormatterThe issue relates to the built-in formatterThe issue relates to the built-in formatterFixedA PR has been merged for this issueA PR has been merged for this issue