Convert React JavaScript Code to TypeScript with Proper Typing
I recently started a new project. I started with kotlin and react. I was working on creating typings for redux, router, etc. Encountered a lot of issues.<p>Moved to typescript, things were great till I went to add redux and router. There were typing issues being worked out in the recent development branch. A few weeks back.<p>I love typescript. The IDE experience via visual studio is great. But I was burning a lot of time working on type libraries&#x2F;definitions.<p>I switched to flow. I miss visual studio code and some of the typescript features. But adding typing to a react project, especially with redux and immutable is great. The typing ecosystem of flow and typescript is truly impressive. With support for union types, strong structures. Really good inference. I&#x27;m just waiting for better pattern matching with active expressions. Please steal that from F#.<p>This is also interesting for kotlin. 
<a href="https:&#x2F;&#x2F;github.com&#x2F;Kotlin&#x2F;ts2kt" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;Kotlin&#x2F;ts2kt</a>