Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Typescript issues with React/Redux type munging. #27

Open
RufusHamade opened this issue Jul 17, 2018 · 0 comments
Open

Typescript issues with React/Redux type munging. #27

RufusHamade opened this issue Jul 17, 2018 · 0 comments

Comments

@RufusHamade
Copy link
Collaborator

A number of React / Redux functions such as 'connect' and 'mergeProps' can do type munging (e.g., wrapping an object in a container with a subtly different type signature) that cause compile failures in later versions of the TypeScript compiler. As yet we haven't worked out the proper way to fix these issue

We are currently fixing them by casting the types to 'any', but this is far from satisfactory.

This issue is a placeholder to make it easier to find these workarounds. We'll add TODOs each time we do a workaround. Once we work out a proper way to fix this issue, we can return and fix the TODOs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant