Difference in inferred and explicit return types in TypeScript functions
Return type of
something1:Return type of
something2:Why is the return type of
something1 not the same as return type of something2? I'd like it if I didn't have to manually annotate the return type like something2.