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

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.




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

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

Search: