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

pathForLibFile needs improvement in program reuse, default library detection and other uses #52759

Closed
sheetalkamat opened this issue Feb 14, 2023 · 0 comments · Fixed by #53877
Assignees
Labels
Fix Available A PR has been opened for this issue

Comments

@sheetalkamat
Copy link
Member

Bug Report

🔎 Search Terms

🕗 Version & Regression Information

⏯ Playground Link

💻 Code

🙁 Actual behavior

  • Module resolution for libFile redirects is not stored.
  • Should it use different module resolution cache that one in program if resolution strategy doesn't match
  • Resolution happens each time isSourceFileDefaultLibrary and getLibFileFromReference are called.

🙂 Expected behavior

@sheetalkamat sheetalkamat self-assigned this Feb 14, 2023
@typescript-bot typescript-bot added the Fix Available A PR has been opened for this issue label Apr 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Fix Available A PR has been opened for this issue
Projects
None yet
2 participants