Lemoncode/react-typescript-samples

TS2315: Type 'Middleware' is not generic

arshdeep opened this issue · 2 comments

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?

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

Thanks a lot @brauliodiez