opened
tquinlan1992
username_0
With redux-thunk 2.3.0, awesome-typescript-loader 3.5.0, and typescript 2.8.3 I'm getting the following error.  

Not sure where the cause may lie, if it's a cause from redux-thunk or my setup with typescript.

ERROR in [at-loader] ./node_modules/redux-thunk/index.d.ts:14:84
    TS2315: Type 'Middleware' is not generic.
Getting "TS2315: Type 'Middleware' is not generic."
issue
created
arieldf
username_1
@username_0 I get the exact same error and have not managed to resolve it yet
comment
created
raviqqe
username_2
Update redux to 4.
comment
created
arieldf
username_1
@username_2 I am in fact using Redux 4
comment
created
jonantoine
username_3
I ran into this as well. My package.json file dependencies look like this:
` "redux": "^3.7.2",`
` "redux-thunk": "^2.2.0",`

I am not ready to update to redux 4.x yet. But the fact that I would have to upgrade to resolve this issue seems to me a breaking change and redux-thunk 2.3.0 should really be 3.0.0.
comment
closed
timdorr
username_4
issue
created
tquinlan1992
username_0
Thanks!  I should have read the release notes for redux-thunk 2.3.0...
comment