You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/*** @prop {boolean} myProperty - description for myProperty*/classMyElementextendsLitElement{staticgetproperties(){return{myProperty: {type: Boolean}}}constructor(){super();this.myProperty=false;this.myBoundFunction=this.someFunction.bind(this);}someFunction(){}}
The (JSON) output contains both the myProperty and myBoundFunction properties. It seems that wca is analyzing not only the jsdoc but also the component's constructor. This seems to be causing two issues. The first is that the descriptions are not present in the output, and the second is that I wouldn't expect myBoundFunction to be present in the output. I see that there is work to support @private/@protected, which may solve the latter issue.
The text was updated successfully, but these errors were encountered:
Given a plain JS lit-element like so:
The (JSON) output contains both the
myProperty
andmyBoundFunction
properties. It seems that wca is analyzing not only the jsdoc but also the component's constructor. This seems to be causing two issues. The first is that the descriptions are not present in the output, and the second is that I wouldn't expectmyBoundFunction
to be present in the output. I see that there is work to support@private
/@protected
, which may solve the latter issue.The text was updated successfully, but these errors were encountered: