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(lsp): respect types dependencies for tsc roots #23825

Merged
merged 1 commit into from
May 16, 2024

Conversation

nayeemrmn
Copy link
Collaborator

Addresses an odd case where you have an unimported JS file in the project (the LSP should still treat unimported files as roots) which has /// <reference types="..." /> to a file which creates global types, that types file should also be included as a root.

Copy link
Member

@dsherret dsherret left a comment

Choose a reason for hiding this comment

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

LGTM

@nayeemrmn nayeemrmn merged commit f8956eb into denoland:main May 16, 2024
17 checks passed
@nayeemrmn nayeemrmn deleted the lsp-reference-types-global-root branch May 16, 2024 21:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants