diff --git a/default_theme/section._ b/default_theme/section._ index 5a5e16e2b..d8d6c68e7 100644 --- a/default_theme/section._ +++ b/default_theme/section._ @@ -90,7 +90,7 @@ <% if (property.properties) { %>
<%- name%>
<%= formatType(property.type) %>
+ <%- property.name %>
<%= formatType(property.type) %>
<% if (property.default) { %>
(default <%- property.default %>
)
<% } %>
diff --git a/test/fixture/html/nested.input.js b/test/fixture/html/nested.input.js
index f4f717328..a2c23e8b0 100644
--- a/test/fixture/html/nested.input.js
+++ b/test/fixture/html/nested.input.js
@@ -29,6 +29,15 @@ Klass.prototype.getFoo = function () {
Klass.prototype.withOptions = function (options, otherOptions) {
};
+/**
+ * @typedef CustomError
+ * @name CustomError
+ * @description a typedef with nested properties
+ * @property {object} error An error
+ * @property {string} error.code The error's code
+ * @property {string} error.description The error's description
+ */
+
/**
* Decide whether an object is a Klass instance
* This is a [klasssic]{@link Klass}
diff --git a/test/fixture/html/nested.output.files b/test/fixture/html/nested.output.files
index 3aa05c120..2add6ae99 100644
--- a/test/fixture/html/nested.output.files
+++ b/test/fixture/html/nested.output.files
@@ -98,6 +98,16 @@
a typedef with nested properties
+ + +