clenemt / docdash

:zap: Lodash inspired JSDoc 3 template/theme
http://clenemt.github.io/docdash/
Other
824 stars 201 forks source link

Private constructors #35

Closed amphro closed 6 years ago

amphro commented 6 years ago

I'm trying to mark a constructor as private, but it still shows up in the generated documentation with either or both of hideconstructor and private.

/**
 * Class description
 * @hideconstructor
 */
class MyClass {
   /**
    * @private
    */
   constructor() {}
}

Is there another way to do it or is it not supported right now? If the later, any chance of supporting it?

ar2rsawseen commented 6 years ago

Tried your exact example, with @hideconstructor, constructor does not appear, but without it - appears. So it looks like it works correctly.