diff --git a/scripts/docs/templates/common.template.html b/scripts/docs/templates/common.template.html index 79dd0b4a4..f3c743369 100644 --- a/scripts/docs/templates/common.template.html +++ b/scripts/docs/templates/common.template.html @@ -27,13 +27,13 @@ docType: "<$ doc.docType $>" <$ param.name $> - <@ if param.optional @>
(optional)
<@ endif @> <$ param.returnType | escape $> <$ param.description | marked $> + <@ if param.optional @>Optional<@ endif @> <@ endfor @> @@ -71,14 +71,14 @@ docType: "<$ doc.docType $>" <$ param.name $> <@ if param.alias @>| <$ param.alias $><@ endif @> - <@ if param.type.optional @>
(optional)
<@ endif @> <$ typeList(param.typeList) $> <$ param.description | marked $> - <@ if param.default @>

(default: <$ param.default $>)

<@ endif @> + <@ if param.optional @>Optional<@ endif @> + <@ if param.defaultValue @>

(default: <$ param.defaultValue $>)

<@ endif @> <@ endfor @>