Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I was about to say, just use typescript and it'll throw you an error that the function expected one argument but received three.


This won’t prevent all errors - the author explicitly addresses this towards the end.


Yes. I meant specifically just the "too many args" issue




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: