Use type hints in assignments to one variable reference