We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
typescript duplicate comments
https://www.typescriptlang.org/play/?target=9&ts=5.5.0-beta#code/MYGwhgzhAEDKAWYBOBTAJgQQAoEloG8BfAKGJQA8AHAeyQBdpRIZZgUA7FaCujtFxKky4CxAJAB6AFRTx0KdAAClJNUop6ATwIAjatRAow7QtADuKHQHMQ0ALRypE8Yr0Gj7DHTpIAljoBXXnNLG2gAXmgAMzAQCBRiaGhpWTF5JRU1DTptfDdDY1Mo-XtHZzFXfQLPbz9A4OLqCOjY+OISIA
class SharedAPI {} export class Scene extends SharedAPI { /** * @property {boolean} webgl - */ @booleanAttribute webgl = false /** * @property {boolean} foo - */ @booleanAttribute foo = false }
duplicate comments for the foo property appear in output
foo
No duplicate comments
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.
@property {boolean} foo -
Similar issue:
The text was updated successfully, but these errors were encountered:
No branches or pull requests
🔎 Search Terms
typescript duplicate comments
🕗 Version & Regression Information
⏯ Playground Link
https://www.typescriptlang.org/play/?target=9&ts=5.5.0-beta#code/MYGwhgzhAEDKAWYBOBTAJgQQAoEloG8BfAKGJQA8AHAeyQBdpRIZZgUA7FaCujtFxKky4CxAJAB6AFRTx0KdAAClJNUop6ATwIAjatRAow7QtADuKHQHMQ0ALRypE8Yr0Gj7DHTpIAljoBXXnNLG2gAXmgAMzAQCBRiaGhpWTF5JRU1DTptfDdDY1Mo-XtHZzFXfQLPbz9A4OLqCOjY+OISIA
💻 Code
🙁 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:
There's an extra
@property {boolean} foo -
comment in the output.Similar issue:
The text was updated successfully, but these errors were encountered: