summaryrefslogtreecommitdiff
path: root/cli/lsp
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2024-09-25 09:04:57 -0400
committerGitHub <noreply@github.com>2024-09-25 09:04:57 -0400
commit8cdb309ffd6686b2f3c4a2126d927fd5770be34d (patch)
tree68dfbc0d13e94b9e18f45925d1d5492a7ca6e267 /cli/lsp
parent5c40b47629bc83b9120019b77b34ced5eaabcffe (diff)
fix(check): properly surface dependency errors in types file of js file (#25860)
We weren't surfacing dependency errors in types files of js files.
Diffstat (limited to 'cli/lsp')
-rw-r--r--cli/lsp/language_server.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/lsp/language_server.rs b/cli/lsp/language_server.rs
index a1cc5079d..85daa4e28 100644
--- a/cli/lsp/language_server.rs
+++ b/cli/lsp/language_server.rs
@@ -275,7 +275,7 @@ impl LanguageServer {
&roots,
graph_util::GraphValidOptions {
is_vendoring: false,
- follow_type_only: true,
+ kind: GraphKind::All,
check_js: false,
exit_lockfile_errors: false,
},