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

Function createClassProperty

transforms/class.js:641–647  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

639 ), prop);
640
641 const createClassProperty = prop =>
642 withComments(j.classProperty(
643 j.identifier(prop.key.name),
644 prop.value,
645 null,
646 false
647 ), prop);
648
649 const createClassPropertyWithType = prop =>
650 withComments(j.classProperty(

Callers 1

createESClassFunction · 0.85

Calls 1

withCommentsFunction · 0.70

Tested by

no test coverage detected