react-proptypes-to-typescript
react-proptypes-to-typescript copied to clipboard
feature request: transfrom Component.defaultProps to static member
transform:
Component.defaultProps = {
a:1,
}
To:
class Component: ...{
static defaultProps = { a:1 },
...
}