-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Problems with StoreState #182
Comments
Saw that issue before I kept digging, and I'm wondering if a) that's the correct solution and the tutorial needs to be updated or b) the individual accidentally closed the issue when making their comment and the tutorial still needs to be updated with the correct solution. |
I tried solution from #140, but doesn't work unless I'm missing something... |
@a455047 you have |
Thanks James! See updated working version below: import * as React from 'react'; import Hello from './containers/Hello'; import './index.css'; import { EnthusiasmAction } from './actions/index'; const store = createStore<StoreState, EnthusiasmAction, any, any>(enthusiasm, { ReactDOM.render( Cheers |
The solution above works for me but I thought using any was a no no? |
What's the current state of this solution? Working through a broken demo is discouraging. |
You can just wait for facebook/create-react-app#4837 to be finished and just use TypeScript natively with CRA 2. |
\TypeScript-React-Starter\src*index.tsx* has problem with const store = createStore
Error '(12,27): Expected 4 type arguments, but got 1.'
The text was updated successfully, but these errors were encountered: