angular/aio/tools/transforms/templates/api/includes/annotations.html
Kristiyan Kostadinov 43e6fb0606 feat(core): enable block syntax (#51994)
Enables the new `@` block syntax by default by removing the `enabledBlockTypes` flags. There are still some internal flags that allow special use cases to opt out of the block syntax, like during XML parsing and when compiling older libraries (see #51979).

PR Close #51994
2023-10-03 15:26:05 -07:00

13 lines
467 B
HTML

{%- if doc.decorators.length %}
<section class="annotations">
<h2>Annotations</h2>
{%- for decorator in doc.decorators %}
<code-example language="ts" hideCopy="true" class="no-box api-heading{% if decorator.deprecated %} deprecated-api-item{% endif %}">&#64;{$ decorator.name $}({$ decorator.arguments $})</code-example>
{%- if not decorator.notYetDocumented %}
{$ decorator.description | marked $}
{%- endif %}
{%- endfor %}
</section>
{%- endif -%}