documentation icon indicating copy to clipboard operation
documentation copied to clipboard

@hideconstructor doesn't work on ES6 classes

Open snoack opened this issue 4 years ago • 0 comments

This never works:

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

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

/**
 * 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

snoack avatar Jan 22 '21 23:01 snoack