{% import "lib/paramList.html" as params -%} {% extends 'export-base.template.html' -%} {% block details %} {% if doc.overloads.length === 1 %} function {$ doc.overloads[0].name $}{$ params.paramList(doc.overloads[0].parameters) $} {%- if doc.overloads[0].type %}: {$ doc.overloads[0].type | escape $}{% endif %}; {% include "includes/description.html" %} {% else %}

Overloads

{% for overload in doc.overloads %} function {$ overload.name $}{$ params.paramList(overload.parameters) $} {%- if overload.type %}: {$ overload.type | escape $}{% endif %};
{$ overload.description | trimBlankLines | marked $}
{% endfor %} {% endif %} {% endblock %}