Skip to content

Fix IsolatedDeclarations annotations can duplicate comments#61497

Closed
sidlamsal wants to merge 3 commits intomicrosoft:mainfrom
SeniorSeminarGroup:returnAnnotation
Closed

Fix IsolatedDeclarations annotations can duplicate comments#61497
sidlamsal wants to merge 3 commits intomicrosoft:mainfrom
SeniorSeminarGroup:returnAnnotation

Conversation

@sidlamsal
Copy link
Copy Markdown

Fixes #60991

@typescript-bot typescript-bot added the For Backlog Bug PRs that fix a backlog bug label Mar 28, 2025
@sidlamsal sidlamsal marked this pull request as ready for review March 28, 2025 18:31
}

function stripCommentsFromNode(node: Node): void {
setEmitFlags(node, EmitFlags.NoComments);
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably this should just be removeAllComments?

@typescript-bot
Copy link
Copy Markdown
Collaborator

With 6.0 out as the final release vehicle for this codebase, we're closing all PRs that don't fit the merge criteria for post-6.0 patches. If you think this was a mistake and this PR fits the post-6.0 patch criteria, please post to the 6.0 iteration issue with details (specifically, which PR and which patch criteria it satisfies).

Next steps for PRs:

  • For crash bugfixes or language service improvements, PRs are currently accepted at the typescript-go repo
  • Changes to type system behavior should wait until after 7.0, at which point mainline TypeScript development will resume in this repository with the Go codebase
  • Library file updates (lib.d.ts etc) continue to live in this repo or the DOM Generator repo as appropriate

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

For Backlog Bug PRs that fix a backlog bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[isolatedDeclarations] Quick-fix for adding missing annotations can duplicate comments

5 participants