summaryrefslogtreecommitdiff
path: root/cli/tools/check.rs
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2024-09-14 11:58:47 +0100
committerGitHub <noreply@github.com>2024-09-14 11:58:47 +0100
commitaf2d992ecd2b9320072164b6ee295c31a3194406 (patch)
tree0926e2852aa2c4eb300e1f54f4c84d7568589b3b /cli/tools/check.rs
parent2c0bf6fd65b3276c4818c73028b19819608c8e70 (diff)
feat: TypeScript 5.6 and `npm:@types/node@22` (#25614)
Diffstat (limited to 'cli/tools/check.rs')
-rw-r--r--cli/tools/check.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/cli/tools/check.rs b/cli/tools/check.rs
index 9232f324b..d50af5230 100644
--- a/cli/tools/check.rs
+++ b/cli/tools/check.rs
@@ -84,7 +84,9 @@ impl TypeChecker {
graph: ModuleGraph,
options: CheckOptions,
) -> Result<Arc<ModuleGraph>, AnyError> {
- let (graph, diagnostics) = self.check_diagnostics(graph, options).await?;
+ let (graph, mut diagnostics) =
+ self.check_diagnostics(graph, options).await?;
+ diagnostics.emit_warnings();
if diagnostics.is_empty() {
Ok(graph)
} else {