Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant