Skip to content
New issue

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

Fix serialization of accessor types in declaration files. #61392

Merged
merged 1 commit into from
Mar 14, 2025

Conversation

dragomirtitian
Copy link
Contributor

@dragomirtitian dragomirtitian commented Mar 10, 2025

Fixes #61338
Fixes #61391

@typescript-bot typescript-bot added the For Uncommitted Bug PR for untriaged, rejected, closed or missing bug label Mar 10, 2025
@jakebailey jakebailey requested a review from weswigham March 14, 2025 18:21
Copy link
Member

@weswigham weswigham left a comment

Choose a reason for hiding this comment

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

I feel like there's probably still some more places where we're doing some unchecked/uninstantiated node retention - particularly locations in the syntactic builder which prefer uses of canReuseTypeNode over canReuseTypeNodeAnnotation, as the former lacks a bunch of context with which to do sanity checking via a typeNodeIsEquivalentToType call, but this is a definite improvement.

@weswigham weswigham merged commit a00b324 into microsoft:main Mar 14, 2025
32 checks passed
@jakebailey
Copy link
Member

@typescript-bot cherry-pick this to release-5.8

@typescript-bot
Copy link
Collaborator

typescript-bot commented Mar 14, 2025

Starting jobs; this comment will be updated as builds start and complete.

Command Status Results
cherry-pick this to release-5.8 ✅ Started ✅ Results

@typescript-bot
Copy link
Collaborator

Hey, @jakebailey! I've created #61423 for you.

DanielRosenwasser pushed a commit that referenced this pull request Mar 19, 2025
…e-5.8 (#61423)

Co-authored-by: Titian Cernicova-Dragomir <tcernicovad1@bloomberg.net>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
For Uncommitted Bug PR for untriaged, rejected, closed or missing bug
Projects
Status: Done
4 participants