We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ea9de8a commit f3b8f59Copy full SHA for f3b8f59
types/redux-devtools/redux-devtools-tests.tsx
@@ -15,9 +15,14 @@ const DevTools = createDevTools(
15
const finalCreateStore = compose(
16
DevTools.instrument(),
17
persistState('test-session')
18
-)(createStore)
+)(createStore) as
19
+// FIXME Remove as StoreEnhancerStoreCreator<Store<any>> in the future
20
+// See https://github.com/reactjs/redux/pull/1936#issuecomment-251738892
21
+// See Function composition challenge for type system https://github.com/Microsoft/TypeScript/issues/10247
22
+// See https://github.com/Microsoft/TypeScript/issues/9949
23
+StoreEnhancerStoreCreator<Store<any>>;
24
-const store: Store<any> = finalCreateStore(reducer)
25
+const store = finalCreateStore(reducer)
26
27
class App extends React.Component<any> {
28
render() {
0 commit comments