Chore: No implict any fixes (#17020)

This commit is contained in:
Torkel Ödegaard
2019-05-13 09:38:19 +02:00
committed by GitHub
parent 2fff8f77dc
commit e0b760e08e
53 changed files with 321 additions and 241 deletions

View File

@@ -3,7 +3,7 @@ import { connect } from 'react-redux';
import { store } from '../../store/store';
export function connectWithStore(WrappedComponent, ...args) {
const ConnectedWrappedComponent = connect(...args)(WrappedComponent);
const ConnectedWrappedComponent = (connect as any)(...args)(WrappedComponent);
return props => {
return <ConnectedWrappedComponent {...props} store={store} />;