atlassian / atlassian/extract-react-types
Cannot parse anonymous classes
Open
- Dominant language
- JavaScript
- Stars
- 188
- Forks
- 31
- PR merge metrics
- No merged PRs in 30d
Description
Currently
```
export default class extends React.PureComponent {}
```
fails with a cryptic 'no converter for: null' error. We implicitly expect all classes (and maybe functions) passed to us to be named.
To resolve this we need to either:
a) Make this an explicit rule and add useful error messaging
or
b) Support unnamed classes (and maybe functions)
I am leaning towards b)
Contributor guide
Assessment
This issue has not been assessed yet.