Open thenameisflic opened 6 years ago
As a workaround, i added my own preact-redux.d.ts and told typescript to ignore the module typings.
It's fixed on master branch:
https://github.com/developit/preact-redux/blob/master/src/preact-redux.d.ts#L278
But not published yet:
https://github.com/developit/preact-redux/blob/2.0.3/src/preact-redux.d.ts#L278
@developit need a new package version with this fix.
I created a simple project via preact-cli, added the typescript plugin, redux and preact-redux, but i got this error when running npm run start: