spolnik/JAlgoArena-UI

View on GitHub
flow-typed/npm/react-redux_v5.x.x.js

Summary

Maintainability
A
2 hrs
Test Coverage

Showing 2 of 2 total issues

Identical blocks of code found in 2 locations. Consider refactoring.
Open

declare export function connect<Com: ComponentType<*>, A, RS: Object, DP: Object, SP: Object, RSP: Object, RDP: Object, MP: Object, RMP: Object>(
mapStateToProps: ?MapStateToProps<RS, SP, RSP>,
mapDispatchToProps: ?MapDispatchToProps<A, DP, RDP>,
mergeProps: ?MergeProps<RSP, RDP, MP, RMP>,
options: ConnectOptions<*, SP & DP & MP, RSP, RMP>
Severity: Major
Found in flow-typed/npm/react-redux_v5.x.x.js and 1 other location - About 1 hr to fix
flow-typed/npm/react-redux_v5.x.x.js on lines 86..90

Identical blocks of code found in 2 locations. Consider refactoring.
Open

declare export function connect<Com: ComponentType<*>, A, RS: Object, DP: Object, SP: Object, RSP: Object, RDP: Object, MP: Object, RMP: Object>(
mapStateToProps: MapStateToProps<RS, SP, RSP>,
mapDispatchToProps: ?MapDispatchToProps<A, DP, RDP>,
mergeProps: MergeProps<RSP, RDP, MP, RMP>
): (component: Com) => ComponentType<$Diff<ElementConfig<Com>, RMP> & SP & DP & MP>;
Severity: Major
Found in flow-typed/npm/react-redux_v5.x.x.js and 1 other location - About 1 hr to fix
flow-typed/npm/react-redux_v5.x.x.js on lines 92..97
Category
Status