TS2315: Type 'Middleware' is not generic
arshdeep opened this issue · 2 comments
arshdeep commented
I am getting an error while building "09 Redux" sample in the project.
ERROR in [at-loader] ./node_modules/redux-thunk/index.d.ts:14:84
TS2315: Type 'Middleware' is not generic.
Any ideas how to resolve this?
brauliodiez commented
I think redux thunk had an issue on it's typings, try this on tsconfig:
"skipLibCheck": true
We have this sample updated on this repo:
https://github.com/Lemoncode/redux-by-sample/tree/master/04%20Thunk
arshdeep commented
Thanks a lot @brauliodiez