developit / preact-redux

:loop: Preact integration for Redux (no shim needed!)
https://npm.im/preact-redux
MIT License
288 stars 27 forks source link

Typescript definitions for Preact > 8.2.8 & Redux > 4.0 & Typescript > 2.8 #34

Open sameergoyal opened 5 years ago

sameergoyal commented 5 years ago

The latest versions of Preact, Redux & Typescript cause a bunch of errors in the typings file for preact-redux.

This PR includes the fixes required for all of them.

felixmosh commented 5 years ago

Please merge, I've wasted 3 hours to solve that, eventually downgraded to redux 3 & preact-redux 1.X helped.

developit commented 5 years ago

I merged #30 and #33 prior to peeking at this PR, and they overlapped quite a bit. I've tried to sort out the merge conflicts, but would you be able to double-check @sameergoyal?

Sorry for the delay! I'm open to adding collaborators on this project if anyone has the time.