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

Open
kitsonk opened this issue Jul 23, 2021 · 0 comments
Open

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

kitsonk opened this issue Jul 23, 2021 · 0 comments
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
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

1 participant