News for hackers. Stuff that matters.
Re:Using TypeScript with React by Epskampie on Thursday August 22, 2019 @09:50AM (#20768028)
Verbose? Do not agree at all. Adding types to function parameters for example is just a simple ": TYPE" I do not see how that could be much shorter.

Furthermore, where possible (variable assignment, function returns) types are inferred, and do not need to be specified at all, leaving you with mostly plain JS syntax.

Re:Using TypeScript with React by verttii on Thursday August 22, 2019 @09:59AM (#20768116)
No algebraic data types leads to having to add an additional discriminating union type key.

Besides that, no type signatures without parameters and other things just produce a lot more code than you'd have in a nicer type system.