documentationjs / documentationjs/documentation

@hideconstructor doesn't work on ES6 classes

Open
#1,354 0 comments 1 reaction 1 assignee Claimed by @anthony-redFox View on GitHub
Dominant language
JavaScript
Stars
5.8k
Forks
481
PR merge metrics
No merged PRs in 30d

Description

This never works:

```javascript
/**
* Lorem ipsum
* @hideconstructor
*/
export class EventDispatcher
{
constructor(initializer, finalizer) {}
}
```

This doesn't work when using `--document-exported`:

```javascript
/**
* Lorem ipsum
*/
export class EventDispatcher
{
/* @hideconstructor **/
constructor(initializer, finalizer) {}
}
```

* What version of documentation.js are you using?: 13.1.1
* How are you running documentation.js (on the CLI, Node.js API, Grunt, other?): CLI

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.