diff --git a/types/redux-devtools/redux-devtools-tests.tsx b/types/redux-devtools/redux-devtools-tests.tsx index e0d4d56411..8b477c046e 100644 --- a/types/redux-devtools/redux-devtools-tests.tsx +++ b/types/redux-devtools/redux-devtools-tests.tsx @@ -15,9 +15,14 @@ const DevTools = createDevTools( const finalCreateStore = compose( DevTools.instrument(), persistState('test-session') -)(createStore) +)(createStore) as +// FIXME Remove as StoreEnhancerStoreCreator> in the future +// See https://github.com/reactjs/redux/pull/1936#issuecomment-251738892 +// See Function composition challenge for type system https://github.com/Microsoft/TypeScript/issues/10247 +// See https://github.com/Microsoft/TypeScript/issues/9949 +StoreEnhancerStoreCreator>; -const store: Store = finalCreateStore(reducer) +const store = finalCreateStore(reducer) class App extends React.Component { render() {