This is very unfortunate that we have to change the generic function that prints code but we want the JSXElement node to handle its comments printing itself in order to write them inside of the parenthesis instead of outside. Fixes #555
7 lines
82 B
JavaScript
7 lines
82 B
JavaScript
const aDiv = (
|
|
/* $FlowFixMe */
|
|
<div className="foo">
|
|
Foo bar
|
|
</div>
|
|
);
|