pub fn clean_type_string(input: &str) -> String