type hint in interface