Y
Hacker News
new
|
ask
|
show
|
jobs
by
atwood22
1390 days ago
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.