{% assign sig = include.value.signatures[0] %}
function {{ sig.name }} {{- "(" -}} | {{- "): " -}} {% include api_helper_type.html type=sig.type %}; | |
function {{ sig.name }} {{- "(" -}} | {% else %}{% endif %} | {{- param.name -}} {%- if param.defaultValue -%} ?: {%- else -%} : {% endif %} {% include api_helper_type.html type=param.type %} {%- if forloop.last -%} {{- "): " -}} {% include api_helper_type.html type=sig.type %}; {% else %} {{- "," -}} {% endif %} |