In my class I want to document its properties so that they're noted when hovering over the class itself, but I also want my documentation to show up when hovering the properties themselves:
/**
* Example class
* @property {string} foo - Example property
*/
class bar {
constructor(){
/**
* Example property
* @type {string}
* @public
*/
this.foo = 'foo';
}
}
I need to have it similar to this to get the desired result of having the info about this.foo show up when hovering both the class/constructor and this.foo itself.
This feels redundant and I feel like there must be a more concise way to get the desired result.