From 8cdb309ffd6686b2f3c4a2126d927fd5770be34d Mon Sep 17 00:00:00 2001 From: David Sherret Date: Wed, 25 Sep 2024 09:04:57 -0400 Subject: 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. --- cli/tools/registry/graph.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cli/tools/registry') diff --git a/cli/tools/registry/graph.rs b/cli/tools/registry/graph.rs index d14e4cd84..184557e5d 100644 --- a/cli/tools/registry/graph.rs +++ b/cli/tools/registry/graph.rs @@ -128,7 +128,7 @@ impl GraphDiagnosticsCollector { follow_dynamic: true, // search the entire graph and not just the fast check subset prefer_fast_check_graph: false, - follow_type_only: true, + kind: deno_graph::GraphKind::All, }; let mut iter = graph.walk(graph.roots.iter(), options); while let Some((specifier, entry)) = iter.next() { -- cgit v1.2.3