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

12 lines
365 B
HTML

{% extends 'export-base.template.html' %}
{% block overview %}
<code-example language="ts" hideCopy="true" class="no-box api-heading{% if doc.deprecated %} deprecated-api-item{% endif %}">
const {$ doc.name $}: {$ (doc.type | escape) or 'any' $};
</code-example>
{% endblock %}
{% block details %}
{% include "includes/description.html" %}
{% endblock %}