fix(docs-infra): display deprecation notes for properties (#43566)

Previously, deprecation notes for deprecated class/interface properties
were not shown in the API docs. This commit fixes it by ensuring that
deprecation notes are shown for properites (similar to how it works for
methods).

PR Close #43566
This commit is contained in:
George Kalpakas
2021-09-24 13:45:58 +03:00
committed by Alex Rickabaugh
parent e131540f71
commit d02c8da7bd
@@ -234,6 +234,10 @@
{$ property.shortDescription | marked | trim $}{% endif %}
{$ (property.description or property.constructorParamDoc.description) | marked $}
{%- if property.deprecated !== undefined %}
{$ ('**Deprecated** ' + property.deprecated) | marked | trim $}
{%- endif %}
{%- if property.see.length %}
<p>See also:</p>
<ul>