Using Redux 4.0.0 some errors occur while bundling a typescript/preact/preact-redux project.
Versions I'm using:
preact-redux@2.0.3
redux@4.0.0"
The errors:
ERROR in [at-loader] ./node_modules/preact-redux/src/preact-redux.d.ts:19:23
TS2344: Type 'S' does not satisfy the constraint 'Action<any>'.
ERROR in [at-loader] ./node_modules/preact-redux/src/preact-redux.d.ts:214:25
TS2344: Type 'S' does not satisfy the constraint 'Action<any>'.
I found a similar issue here: redux-observable/redux-observable#449