angular-cn/aio/tools/transforms/templates/api/function.template.html

9 lines
328 B
HTML

{% import "lib/paramList.html" as params -%}
{% extends 'export-base.template.html' -%}
{% block details %}
<code-example language="ts" hideCopy="true">
function {$ doc.name $}{$ params.paramList(doc.parameters) $}: {$ doc.returnType or 'any' $};
</code-example>
{% include "includes/description.html" %}
{% endblock %}