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

Function createClassPropertyWithType

transforms/class.js:649–655  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

647 ), prop);
648
649 const createClassPropertyWithType = prop =>
650 withComments(j.classProperty(
651 j.identifier(prop.key.name),
652 prop.value.expression,
653 prop.value.typeAnnotation,
654 false
655 ), prop);
656
657 // ---------------------------------------------------------------------------
658 // Flow!

Callers 1

createESClassFunction · 0.85

Calls 1

withCommentsFunction · 0.70

Tested by

no test coverage detected