conversationai-moderator icon indicating copy to clipboard operation
conversationai-moderator copied to clipboard

Typescript issues with React/Redux type munging.

Open RufusHamade opened this issue 6 years ago • 0 comments

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.

RufusHamade avatar Jul 17 '18 10:07 RufusHamade