v2.3.0 is giving TS2315: Type 'Middleware' is not generic · Issue #203 · reduxjs/redux-thunk · GitHub
Discussion: improving the developer experience for TypeScript users by making changes in the declaration file and adding documentation for types · Issue #231 · reduxjs/redux-thunk · GitHub