mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
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:
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>
|
||||
|
||||
Reference in New Issue
Block a user