documentationjs / documentationjs/documentation
Treat constructor method as proper constructor of an object
Open
enhancement
- Dominant language
- JavaScript
- Stars
- 5.8k
- Forks
- 481
- PR merge metrics
- No merged PRs in 30d
Description
With this minimal class:
```js
/** */
class Foo {
/** */
constructor(bar) {
this.bar = bar;
}
}
```
Running`node_modules/.bin/documentation serve doc.js` produces the following output with 4.0.0-beta.18:

I would expect the constructor not to be displayed as an instance method and it's parameters included in the instantiation example.
Contributor guide
Assessment
This issue has not been assessed yet.