Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
chadlavi
· 5y ago · 0 comments
I was about to say, just use typescript and it'll throw you an error that the function expected one argument but received three.
Comments
[–]
pfdzm
5y ago
This won’t prevent all errors - the author explicitly addresses this towards the end.
[–]
chadlavi
OP
5y ago
Yes. I meant specifically just the "too many args" issue