mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-19 10:41:56 -05: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:
committed by
GitHub
parent
45c1e58809
commit
50a4b92bca
@@ -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":
|
||||
|
||||
@@ -5693,7 +5693,7 @@
|
||||
"category": "Message",
|
||||
"code": 6706
|
||||
},
|
||||
"Specify the folder for .tsbuildinfo incremental compilation files.": {
|
||||
"Specify the path to .tsbuildinfo incremental compilation file.": {
|
||||
"category": "Message",
|
||||
"code": 6707
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user