Skip to content

Commit e703b3e

Browse files
amcdnlmmalerba
authored andcommitted
docs(types): null chk descriptions, type placement updates (#8125)
1 parent fd52782 commit e703b3e

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

tools/dgeni/templates/method.template.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,13 @@
99
</th>
1010
</tr>
1111
</thead>
12+
{%- if method.description -%}
1213
<tr class="docs-api-method-description-row">
1314
<td colspan="2" class="docs-api-method-description-cell">
1415
{$ method.description | marked | safe $}
1516
</td>
1617
</tr>
18+
{%- endif -%}
1719

1820
{%- if method.params.length -%}
1921
<thead>

tools/dgeni/templates/property.template.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,8 @@
2323
{%- endif -%}
2424

2525
<p class="docs-api-property-name">
26-
{$ property.name $}
26+
<code>{$ property.name $}: {$ property.type $}</code>
2727
</p>
28-
<code class="docs-api-property-type">{$ property.type $}</code>
2928
</td>
3029
<td class="docs-api-property-description">{$ property.description | marked | safe $}</td>
3130
</tr>

0 commit comments

Comments
 (0)