{% 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 %}