{%- if include.type.name == "IterableIterator" -%} {%- assign nested_type = include.type.typeArguments[0] -%} IterableIterator<{% include api_helper_type.html type=nested_type %}> {%- elsif include.type.type == "array" -%} {%- assign element_type = include.type.elementType -%} {% include api_helper_type.html type=element_type %}[] {%- elsif include.type.type == "intrinsic" -%} {{- include.type.name -}} {%- else -%} {{ include.type.name }} {%- endif -%}