[Typer] [Git][monnier/typer][master] Get rid of unused `it` field in Case; various extra type checks