Open
Description
Bug Report
🔎 Search Terms
getter, setter, jsdocs, duplicated tags
🕗 Version & Regression Information
- This is the behavior in every version I tried, and I reviewed the FAQ for entries about duplicate tags
- (Tested v4.0.5 + 4.6.2 + Nightly in https://www.typescriptlang.org/play)
⏯ Playground Link
💻 Code
export class Test {
/**
* Do some stuff here a.
*
* @see any other method.
*
* @deprecated This is strange stuff.
*/
get x(): string {
return 'x';
}
/**
* Do some stuff here b.
*
* @param x The new value.
* @see any other method.
*
* @deprecated This is strange stuff.
*/
set x(x: string) {
console.log(x);
}
test(): void {
// console.log(this.x);
this.x = 'a'; // Hover `x` to see the JsDocs
}
}
🙁 Actual behavior
I see the jsdocs tags for both the getter and setter when hovering the property (usage) for them.
🙂 Expected behavior
I expect to see only the jsdocs for either the getter or setter, or at least duplicate tags being filtered.
See also
@Shinigami92
I assume yes, feel free to link: