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
TypeScript Version: 2.7.0-dev.20171208
Code
Run Format
Expected behavior:
Child is indented:
This is consistent with what we do for:
Actual behavior:
No change. Child will be de-indented if it was previously indented