Ensuring TypeScript Recognizes Non-Undefined Returns in Generator Functions - Effect Community