Skip newlines around inline #__PURE__ annotations (#11133)
* Skip newlines around #__PURE__ annotations * Update tests
This commit is contained in:
@@ -1,8 +1,6 @@
|
||||
function fn(Component) {
|
||||
var data = "prop",
|
||||
_ref =
|
||||
/*#__PURE__*/
|
||||
<Component prop={data} />;
|
||||
_ref = /*#__PURE__*/<Component prop={data} />;
|
||||
|
||||
return () => _ref;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user