diff options
| author | David Sherret <dsherret@users.noreply.github.com> | 2023-03-21 18:19:42 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-03-21 18:19:42 -0400 |
| commit | 253b556e6f430012c3094d47838fe397fa588028 (patch) | |
| tree | 0679662bfbd9caa85e191c68b5fef76e79aa49e7 /cli/tools | |
| parent | 7e61e8f0e0abbf8cbd1a8c2ea21cee9ff11403c2 (diff) | |
perf(check): type check local files only when not using `--all` (#18329)
Closes #18171
Diffstat (limited to 'cli/tools')
| -rw-r--r-- | cli/tools/check.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cli/tools/check.rs b/cli/tools/check.rs index ec1f91a1d..12f9d06b5 100644 --- a/cli/tools/check.rs +++ b/cli/tools/check.rs @@ -102,6 +102,7 @@ pub fn check( maybe_npm_resolver: Some(npm_resolver.clone()), maybe_tsbuildinfo, root_names, + check_mode: options.type_check_mode, })?; let diagnostics = if options.type_check_mode == TypeCheckMode::Local { |
