BugDomain: Comment EmitHelp Wanted
Repository metrics
- Stars
- Â (48,455 stars)
- PR merge metrics
-  (å¹³åããŒãž 6d 17h) (30d ã§ 9 merged PRs)
説æ
ð Search Terms
typescript duplicate comments
ð Version & Regression Information
- This changed between versions ______ and _______
- This changed in commit or PR _______
- This is the behavior in every version I tried, and I reviewed the FAQ for entries about _________
- I was unable to test this on prior versions because _______
⯠Playground Link
ð» Code
class SharedAPI {}
export class Scene extends SharedAPI {
/**
* @property {boolean} webgl -
*/
@booleanAttribute webgl = false
/**
* @property {boolean} foo -
*/
@booleanAttribute foo = false
}
ð Actual behavior
duplicate comments for the foo property appear in output
ð Expected behavior
No duplicate comments
Additional information about the issue
The output shows this:
constructor() {
super(...arguments);
/**
* @property {boolean} webgl -
*/
this.webgl = __runInitializers(this, _webgl_initializers, false
/**
* @property {boolean} foo -
*/
);
/**
* @property {boolean} foo -
*/
this.foo = (__runInitializers(this, _webgl_extraInitializers), __runInitializers(this, _foo_initializers, false));
__runInitializers(this, _foo_extraInitializers);
}
There's an extra @property {boolean} foo - comment in the output.
Similar issue: