diff --git a/aio/tools/transforms/templates/api/lib/memberHelpers.html b/aio/tools/transforms/templates/api/lib/memberHelpers.html index 0a8fca6a07..08134a6499 100644 --- a/aio/tools/transforms/templates/api/lib/memberHelpers.html +++ b/aio/tools/transforms/templates/api/lib/memberHelpers.html @@ -47,6 +47,11 @@ {$ renderMemberSyntax(overload) $} +{% if overload.deprecated !== undefined %} +
+ {$ ('**Deprecated** ' + overload.deprecated) | marked $} +
{% endif %} +

Parameters

{$ params.renderParameters(overload.parameterDocs, cssClass + '-parameters', cssClass + '-parameter') $} @@ -97,6 +102,13 @@ {% elseif method.overloads.length < 3 -%} + {% if method.isAbstract %} + + + {$ renderOverloadInfo(method, cssClass + '-overload', method) $} + + + {% endif %} {% for overload in method.overloads -%} @@ -110,7 +122,11 @@

{$ method.overloads.length $} overloads...

- {% for overload in method.overloads %} + {% if method.isAbstract %} + {$ renderOverloadInfo(method, cssClass + '-overload', method) $} +
+ {% endif %} + {% for overload in method.overloads %} {$ renderOverloadInfo(overload, cssClass + '-overload', method) $} {% if not loop.last %}
{% endif %} {% endfor %}