MCPcopy Index your code
hub / github.com/reactjs/react-codemod / createArrowProperty

Function createArrowProperty

transforms/class.js:633–639  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

631 };
632
633 const createArrowProperty = prop =>
634 withComments(j.classProperty(
635 j.identifier(prop.key.name),
636 createArrowFunctionExpression(prop.value),
637 null,
638 false
639 ), prop);
640
641 const createClassProperty = prop =>
642 withComments(j.classProperty(

Callers 1

createESClassFunction · 0.70

Calls 2

withCommentsFunction · 0.70

Tested by

no test coverage detected