I don’t know about Python, but for converting JS to TS you start with allow-implicit-any turned on and add types to your business objects as you go. Eventually your turn it off and fix what remains.
Note that while a lot of people do it this way, my blog post this discussion is notionally about on expressly argues that that’s exactly what not to do!
Comments
I don’t know about Python, but for converting JS to TS you start with allow-implicit-any turned on and add types to your business objects as you go. Eventually your turn it off and fix what remains.
Note that while a lot of people do it this way, my blog post this discussion is notionally about on expressly argues that that’s exactly what not to do!
I have now, in fact, RTFA! You definitely make a lot of good points.