Skip to content
This repository has been archived by the owner on Jan 8, 2025. It is now read-only.

Add support for static private members #238

Open
mikeconley opened this issue Feb 27, 2024 · 0 comments
Open

Add support for static private members #238

mikeconley opened this issue Feb 27, 2024 · 0 comments

Comments

@mikeconley
Copy link

In #174, support was added for static class methods. Great! This ticket is about adding support for static private members.

I have a class like this:

class Thing {
  /**
   * The static Thing singleton instance.
   *
   * @static
   * @private
   * @type {Thing|null}
   */
  static private #instance = null;

  // ...
}

:private-members: doesn't show the property by default. Using .. js:autoattribute:: Thing#instance, I expect the property to appear in the docs with decoration indicating that it's both static (and in this case, private).

It does appear in the generated doc, but doesn't show the static keyword nor any indication that the member is private.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant