diff --git a/tools/dgeni/templates/method.template.html b/tools/dgeni/templates/method.template.html index 50b43d1223e6..8848b3c879c4 100644 --- a/tools/dgeni/templates/method.template.html +++ b/tools/dgeni/templates/method.template.html @@ -9,11 +9,13 @@ + {%- if method.description -%} {$ method.description | marked | safe $} + {%- endif -%} {%- if method.params.length -%} diff --git a/tools/dgeni/templates/property.template.html b/tools/dgeni/templates/property.template.html index fd539e9ea11a..9244bb306423 100644 --- a/tools/dgeni/templates/property.template.html +++ b/tools/dgeni/templates/property.template.html @@ -25,7 +25,11 @@

{$ property.name $}

- {$ property.type $} - {$ property.description | marked | safe $} + +
+ Type: {$ property.type $} +
+ {$ property.description | marked | safe $} +