developit / developit/preact-redux

Error with redux 4.0.0: Type 'S' does not satisfy the constraint 'Action<any>'

Open
#32 10 comments 1 reaction 0 assignees View on GitHub
Dominant language
JavaScript
Stars
285
Forks
26
PR merge metrics
No merged PRs in 30d

Description

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'.

ERROR in [at-loader] ./node_modules/preact-redux/src/preact-redux.d.ts:214:25
TS2344: Type 'S' does not satisfy the constraint 'Action'.
```

I found a similar issue here: https://github.com/redux-observable/redux-observable/issues/449

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.