We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 732464d + 614e554 commit 78600dbCopy full SHA for 78600db
lib/transform.js
@@ -145,7 +145,7 @@ function createConstructor (class_) {
145
replacements.push(class_)
146
147
/* only output a constructor if it's documentated */
148
- if (constructor.description || (constructor.params && constructor.params.length)) {
+ if (constructor.description || (constructor.params && constructor.params.length) || constructor.examples) {
149
constructor.id = class_.id
150
constructor.longname = class_.longname
151
constructor.name = class_.codeName || class_.name
0 commit comments