Hacker News new | ask | show | jobs
by Kwantuum 1521 days ago
> the type of fetch() can't be inferred by static analysis

That is preposterous.

1 comments

It's not. One might assume it's Node fetch, but parent post was just using a specific example to make a general point. Fetch can be `any`thing.

Would you say the same thing about

function getData() { return mysteryFunction(…); }