Hacker News new | ask | show | jobs
by dahauns 3148 days ago
>When working with another person API then typescript does become a godsend in helping understand what the bloody hell does this callback parameter are required.

Plot twist: While you are cursing at the person who wrote that API, you slowly realize that it was you all along.

1 comments

Agree, typescript does help with that slow realization that its a problem with your code passing in undefined instead of a object.