semantic: Implement enum support in typer.