News for hackers. Stuff that matters.
Re:Porting a React Front End to TypeScript by com2kid on Tuesday April 28, 2020 @02:46AM (#23004177)
Everytime I construct that object I'd have to look up what the fields are, either docs (lol yeah right) or by looking at previous calls.

Bonus if my previous usage was incorrect and I didn't notice and I end up copying that same mistake again and again!

TypeScript saves me probably 15+ minutes a day of just switching back and forth looking up what parameters are needed.

It is a one time tax to make everything I do more pleasant.

There are no comments on this comment yet.