def remove_type(type_):
 declaration = get_type(type_)
 del TYPE_MAP[type_]
 return declaration

def remove_type ( type_ ) : declaration = get_type ( type_ ) del TYPE_MAP [ type_ ] return declaration
removes the custom type declaration .