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/
226 stars 37 forks source link

analyzer doesn't collect all jsdoc #215

Open nnaydenow opened 1 year ago

nnaydenow commented 1 year ago

Is it possible somehow to access the JSDoc comments of class decorators? The only way to collect all JSDoc was to get the full text of ClassDeclaration statement but it also gives a lot of unneeded information.

https://astexplorer.net/#/gist/20bf16d35981fcc63a83c7c72b1bcfea/e2e71985b268fa7cf66ecff1d36a412178f1aebe

Checklist

Completing the items above will greatly improve triaging time of your issue.

Expected behavior ClassDeclaration JSDoc to contain all comments assigned to the class from customElement, mydecorator1 , mydecorator2 decorators that enhance the following class