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/tsc/00_typescript.js | |
parent | 7e61e8f0e0abbf8cbd1a8c2ea21cee9ff11403c2 (diff) |
perf(check): type check local files only when not using `--all` (#18329)
Closes #18171
Diffstat (limited to 'cli/tsc/00_typescript.js')
-rw-r--r-- | cli/tsc/00_typescript.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cli/tsc/00_typescript.js b/cli/tsc/00_typescript.js index 8bd168cd3..a54ab1e32 100644 --- a/cli/tsc/00_typescript.js +++ b/cli/tsc/00_typescript.js @@ -38066,6 +38066,7 @@ ${lanes.join("\n")} name: "allowImportingTsExtensions", type: "boolean", affectsSemanticDiagnostics: true, + affectsBuildInfo: true, category: Diagnostics.Modules, description: Diagnostics.Allow_imports_to_include_TypeScript_file_extensions_Requires_moduleResolution_bundler_and_either_noEmit_or_emitDeclarationOnly_to_be_set, defaultValueDescription: false @@ -120426,7 +120427,7 @@ ${lanes.join("\n")} const { optionsNameMap } = getOptionsNameMap(); for (const name of getOwnKeys(options).sort(compareStringsCaseSensitive)) { const optionInfo = optionsNameMap.get(name.toLowerCase()); - if (optionInfo == null ? void 0 : optionInfo.affectsBuildInfo) { + if (optionInfo && (optionInfo.affectsBuildInfo || optionInfo.affectsSemanticDiagnostics)) { (result || (result = {}))[name] = convertToReusableCompilerOptionValue( optionInfo, options[name], |