swc/tests/fixture/options/react/output/index.tsx
Niklas Mischkulnig f4d0e46cbb
feat(es/transforms/compat): Add pure comment to classes (#1646)
swc_ecma_transforms_compat:
 - Add pure annotations while tranpiling classes.
2021-05-08 15:47:20 +09:00

4 lines
121 B
TypeScript

export var App = function() {
return(/*#__PURE__*/ testPragma("div", null, /*#__PURE__*/ testPragma(Foo, null)));
};