Y
Hacker News
new
|
ask
|
show
|
jobs
by
devjab
232 days ago
I'm not sure how you can infer types on this. Even if you input an array of users from a different function. How would we know that data[0] is a User and not undefined?