Re:What I wish I knew about React
by Zarel on Wednesday April 29, 2020 @01:33PM
(#23021852)
All I really wanted was to allow type annotations in JavaScript. So you wouldn't need a compile step while running (JavaScript would just ignore the type signatures), but TypeScript could check it whenever. I believe this is the approach Python uses.
I think there were discussions of doing that at some point, but it seems to have gone nowhere.
I think there were discussions of doing that at some point, but it seems to have gone nowhere.