Skip to content

When caching type references cache the tracked symbols so they can be emitted in the d.ts file #51721

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

Merged
merged 4 commits into from
Oct 25, 2023

Conversation

sheetalkamat
Copy link
Member

Fixes #51548

@typescript-bot typescript-bot added Author: Team For Milestone Bug PRs that fix a bug with a specific milestone labels Dec 2, 2022
Base automatically changed from dtsSignatureVerification to main December 7, 2022 00:55
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.

Hm. Wouldn't have thought this'd matter, since tracking the symbol once should be enough to get all the marking done, but I guess since we mark and unmark late painted statements (?) there are edgecases where a track can add a node, then we traverse the node and remove it without serializing it (? why), then use it again and need to mark it again. Guess I'm just surprised this matters.

@sandersn
Copy link
Member

@sheetalkamat is this PR still useful, despite having been around for a while?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Author: Team For Milestone Bug PRs that fix a bug with a specific milestone
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Typescript generates invalid typedefs on incremental builds omitting imports
4 participants