Skip to content

TS2315: Type 'Middleware' is not generic #136

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
arshdeep opened this issue Jun 11, 2018 · 2 comments
Closed

TS2315: Type 'Middleware' is not generic #136

arshdeep opened this issue Jun 11, 2018 · 2 comments

Comments

@arshdeep
Copy link

arshdeep commented Jun 11, 2018

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
Copy link
Member

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
Copy link
Author

Thanks a lot @brauliodiez

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants