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

That’s an interesting idea. You could define a custom type that has the type of [number, number] and combine it with Omit to remove methods that allow extending the array.


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

Search: