appbaseio / appbaseio/reactivebase
Inconsistency between `types` and `propTypes`
Open
- Dominant language
- JavaScript
- Stars
- 18
- Forks
- 2
- PR merge metrics
- No merged PRs in 30d
Description
In cases, when `PropTypes.oneOf` is used, the `type` specifies only a single type.
```
Component.propTypes = {
title: React.PropTypes.oneOfType([
React.PropTypes.string,
React.PropTypes.element
])
}
```
```
Component.types = {
title: TYPES.STRING
}
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.