Open
Description
Scan the AST for functions matching the following criteria:
- either declared or assigned to top-level constants
- return type includes
React.Element
- takes one or two arguments (2 for context)
Then insert statements after the containing statement adding propTypes
and contextTypes
properties.
Metadata
Assignees
Labels
No labels