pub(super) fn type_name(
    as_ct: &impl AsCodeType,
    ci: &ComponentInterface
) -> Result<String, Error>