2018-08-08 15:15:56 +08:00

10 lines
406 B
HTML

{%- if doc.decorators.length %}
<section class="annotations">
<h2 id="annotations">注解</h2>
{%- for decorator in doc.decorators %}
<code-example language="ts" hideCopy="true" class="no-box api-heading">@{$ decorator.name $}({$ decorator.arguments $})</code-example>
{% if not decorator.notYetDocumented %}{$ decorator.description | marked $}{% endif %}
{% endfor %}
</section>
{% endif %}