open-wc / custom-elements-manifest

Custom Elements Manifest is a file format that describes custom elements in your project.
https://custom-elements-manifest.open-wc.org/
225 stars 37 forks source link

JSDoc @ignore in LitElement properties not working #180

Closed frodesigns closed 2 years ago

frodesigns commented 2 years ago

Docs for a prop /** @ignore */ still get generated with when placed within the properties object in LitElement.

Ex:

export class Component extends LitElement {
  static properties = {
    /** @ignore */
    prop: { type: String }
  }

  constructor() {
    super();
    /** @ignore */
    this.prop = 'test';
  }
}

I have to delete the entry from the properties object for ignore to work.