We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent de6a3f7 commit e411a32Copy full SHA for e411a32
.gitignore
@@ -1,2 +1,4 @@
1
tmp
2
out
3
+node_modules
4
+npm-debug.log
lib/transform.js
@@ -133,7 +133,7 @@ function createConstructor (class_) {
133
replacements.push(class_)
134
135
/* only output a constructor if it's documentated */
136
- if (constructor.description || (constructor.params && constructor.params.length)) {
+ if (constructor.description || (constructor.params && constructor.params.length) || constructor.examples) {
137
constructor.id = class_.id
138
constructor.longname = class_.longname
139
constructor.name = class_.codeName || class_.name
0 commit comments