Difference in inferred and explicit return types in TypeScript functions - Effect Community