mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-11-18 20:11:14 +00:00
fix(48053) Description of tsBuildInfoFile is misleading in generated tsconfig.json (#48072)
* add check for path default value * fix wrong tsBuildInfoFile description * updated files to file
This commit is contained in:
1 parent
45c1e58809
commit
50a4b92bca
17 files changed
+19
-18
No files matched your search
@@ -568,7 +568,7 @@ namespace ts {
|
||||
category: Diagnostics.Projects,
|
||||
transpileOptionValue: undefined,
|
||||
defaultValueDescription: ".tsbuildinfo",
|
||||
description: Diagnostics.Specify_the_folder_for_tsbuildinfo_incremental_compilation_files,
|
||||
description: Diagnostics.Specify_the_path_to_tsbuildinfo_incremental_compilation_file,
|
||||
},
|
||||
{
|
||||
name: "removeComments",
|
||||
@@ -3635,7 +3635,8 @@ namespace ts {
|
||||
case "boolean":
|
||||
return true;
|
||||
case "string":
|
||||
return option.isFilePath ? "./" : "";
|
||||
const defaultValue = option.defaultValueDescription;
|
||||
return option.isFilePath ? `./${defaultValue && typeof defaultValue === "string" ? defaultValue : ""}` : "";
|
||||
case "list":
|
||||
return [];
|
||||
case "object":
|
||||
|
||||
Reference in new issue
Block a user