Hacker News new | past | comments | ask | show | jobs | submit login

Hear me out: if you need to do this just to use a tool effectively, maybe it's a bad tool.



We're open to suggestions!


In this specific context: just use plain JavaScript with default args and your own, inline type checker functions. No need for stuff like this and you can customize type checks to your heart's content.




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

Search: