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

lsp: triple-slash no-lib reference can cause other libs to disappear #11498

Closed
kitsonk opened this issue Jul 23, 2021 · 1 comment
Closed

lsp: triple-slash no-lib reference can cause other libs to disappear #11498

kitsonk opened this issue Jul 23, 2021 · 1 comment
Labels
bug Something isn't working correctly lsp related to the language server

Comments

@kitsonk
Copy link
Contributor

kitsonk commented Jul 23, 2021

If a file is in scope of the editor that contains a:

/// <reference no-default-lib="true" />

And isn't a built in lib file, it appears to wipe out all the libs, even if they are supplied in a tsconfig.json file resulting in diagnostics like:

Cannot find name 'Deno'. deno-ts(2304)
@kitsonk kitsonk added bug Something isn't working correctly lsp related to the language server labels Jul 23, 2021
@nayeemrmn
Copy link
Collaborator

We can't/shouldn't do anything about this and no reports recently of users hitting this.

@nayeemrmn nayeemrmn closed this as not planned Won't fix, can't repro, duplicate, stale Jan 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working correctly lsp related to the language server
Projects
None yet
Development

No branches or pull requests

2 participants