File tree 17 files changed +19
-18
lines changed
tests/baselines/reference
Default initialized TSConfig
Initialized TSConfig with advanced options
Initialized TSConfig with boolean value compiler options
Initialized TSConfig with enum value compiler options
Initialized TSConfig with files options
Initialized TSConfig with incorrect compiler option
Initialized TSConfig with incorrect compiler option value
Initialized TSConfig with list compiler options
Initialized TSConfig with list compiler options with enum value
tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit
17 files changed +19
-18
lines changed Original file line number Diff line number Diff line change @@ -568,7 +568,7 @@ namespace ts {
568
568
category : Diagnostics . Projects ,
569
569
transpileOptionValue : undefined ,
570
570
defaultValueDescription : ".tsbuildinfo" ,
571
- description : Diagnostics . Specify_the_folder_for_tsbuildinfo_incremental_compilation_files ,
571
+ description : Diagnostics . Specify_the_path_to_tsbuildinfo_incremental_compilation_file ,
572
572
} ,
573
573
{
574
574
name : "removeComments" ,
@@ -3635,7 +3635,8 @@ namespace ts {
3635
3635
case "boolean" :
3636
3636
return true ;
3637
3637
case "string" :
3638
- return option . isFilePath ? "./" : "" ;
3638
+ const defaultValue = option . defaultValueDescription ;
3639
+ return option . isFilePath ? `./${ defaultValue && typeof defaultValue === "string" ? defaultValue : "" } ` : "" ;
3639
3640
case "list" :
3640
3641
return [ ] ;
3641
3642
case "object" :
Original file line number Diff line number Diff line change 5693
5693
"category" : " Message" ,
5694
5694
"code" : 6706
5695
5695
},
5696
- "Specify the folder for .tsbuildinfo incremental compilation files ." : {
5696
+ "Specify the path to .tsbuildinfo incremental compilation file ." : {
5697
5697
"category" : " Message" ,
5698
5698
"code" : 6707
5699
5699
},
Original file line number Diff line number Diff line change 5
5
/* Projects */
6
6
// "incremental": true, /* Save .tsbuildinfo files to allow for incremental compilation of projects. */
7
7
// "composite": true, /* Enable constraints that allow a TypeScript project to be used with project references. */
8
- // "tsBuildInfoFile": "./", /* Specify the folder for .tsbuildinfo incremental compilation files . */
8
+ // "tsBuildInfoFile": "./.tsbuildinfo ", /* Specify the path to .tsbuildinfo incremental compilation file . */
9
9
// "disableSourceOfProjectReferenceRedirect": true, /* Disable preferring source files instead of declaration files when referencing composite projects. */
10
10
// "disableSolutionSearching": true, /* Opt a project out of multi-project reference checking when editing. */
11
11
// "disableReferencedProjectLoad": true, /* Reduce the number of projects loaded automatically by TypeScript. */
Original file line number Diff line number Diff line change 5
5
/* Projects */
6
6
// "incremental": true, /* Save .tsbuildinfo files to allow for incremental compilation of projects. */
7
7
// "composite": true, /* Enable constraints that allow a TypeScript project to be used with project references. */
8
- // "tsBuildInfoFile": "./", /* Specify the folder for .tsbuildinfo incremental compilation files . */
8
+ // "tsBuildInfoFile": "./.tsbuildinfo ", /* Specify the path to .tsbuildinfo incremental compilation file . */
9
9
// "disableSourceOfProjectReferenceRedirect": true, /* Disable preferring source files instead of declaration files when referencing composite projects. */
10
10
// "disableSolutionSearching": true, /* Opt a project out of multi-project reference checking when editing. */
11
11
// "disableReferencedProjectLoad": true, /* Reduce the number of projects loaded automatically by TypeScript. */
Original file line number Diff line number Diff line change 5
5
/* Projects */
6
6
// "incremental": true, /* Save .tsbuildinfo files to allow for incremental compilation of projects. */
7
7
// "composite": true, /* Enable constraints that allow a TypeScript project to be used with project references. */
8
- // "tsBuildInfoFile": "./", /* Specify the folder for .tsbuildinfo incremental compilation files . */
8
+ // "tsBuildInfoFile": "./.tsbuildinfo ", /* Specify the path to .tsbuildinfo incremental compilation file . */
9
9
// "disableSourceOfProjectReferenceRedirect": true, /* Disable preferring source files instead of declaration files when referencing composite projects. */
10
10
// "disableSolutionSearching": true, /* Opt a project out of multi-project reference checking when editing. */
11
11
// "disableReferencedProjectLoad": true, /* Reduce the number of projects loaded automatically by TypeScript. */
Original file line number Diff line number Diff line change 5
5
/* Projects */
6
6
// "incremental": true, /* Save .tsbuildinfo files to allow for incremental compilation of projects. */
7
7
// "composite": true, /* Enable constraints that allow a TypeScript project to be used with project references. */
8
- // "tsBuildInfoFile": "./", /* Specify the folder for .tsbuildinfo incremental compilation files . */
8
+ // "tsBuildInfoFile": "./.tsbuildinfo ", /* Specify the path to .tsbuildinfo incremental compilation file . */
9
9
// "disableSourceOfProjectReferenceRedirect": true, /* Disable preferring source files instead of declaration files when referencing composite projects. */
10
10
// "disableSolutionSearching": true, /* Opt a project out of multi-project reference checking when editing. */
11
11
// "disableReferencedProjectLoad": true, /* Reduce the number of projects loaded automatically by TypeScript. */
Original file line number Diff line number Diff line change 5
5
/* Projects */
6
6
// "incremental": true, /* Save .tsbuildinfo files to allow for incremental compilation of projects. */
7
7
// "composite": true, /* Enable constraints that allow a TypeScript project to be used with project references. */
8
- // "tsBuildInfoFile": "./", /* Specify the folder for .tsbuildinfo incremental compilation files . */
8
+ // "tsBuildInfoFile": "./.tsbuildinfo ", /* Specify the path to .tsbuildinfo incremental compilation file . */
9
9
// "disableSourceOfProjectReferenceRedirect": true, /* Disable preferring source files instead of declaration files when referencing composite projects. */
10
10
// "disableSolutionSearching": true, /* Opt a project out of multi-project reference checking when editing. */
11
11
// "disableReferencedProjectLoad": true, /* Reduce the number of projects loaded automatically by TypeScript. */
Original file line number Diff line number Diff line change 5
5
/* Projects */
6
6
// "incremental": true, /* Save .tsbuildinfo files to allow for incremental compilation of projects. */
7
7
// "composite": true, /* Enable constraints that allow a TypeScript project to be used with project references. */
8
- // "tsBuildInfoFile": "./", /* Specify the folder for .tsbuildinfo incremental compilation files . */
8
+ // "tsBuildInfoFile": "./.tsbuildinfo ", /* Specify the path to .tsbuildinfo incremental compilation file . */
9
9
// "disableSourceOfProjectReferenceRedirect": true, /* Disable preferring source files instead of declaration files when referencing composite projects. */
10
10
// "disableSolutionSearching": true, /* Opt a project out of multi-project reference checking when editing. */
11
11
// "disableReferencedProjectLoad": true, /* Reduce the number of projects loaded automatically by TypeScript. */
Original file line number Diff line number Diff line change 5
5
/* Projects */
6
6
// "incremental": true, /* Save .tsbuildinfo files to allow for incremental compilation of projects. */
7
7
// "composite": true, /* Enable constraints that allow a TypeScript project to be used with project references. */
8
- // "tsBuildInfoFile": "./", /* Specify the folder for .tsbuildinfo incremental compilation files . */
8
+ // "tsBuildInfoFile": "./.tsbuildinfo ", /* Specify the path to .tsbuildinfo incremental compilation file . */
9
9
// "disableSourceOfProjectReferenceRedirect": true, /* Disable preferring source files instead of declaration files when referencing composite projects. */
10
10
// "disableSolutionSearching": true, /* Opt a project out of multi-project reference checking when editing. */
11
11
// "disableReferencedProjectLoad": true, /* Reduce the number of projects loaded automatically by TypeScript. */
Original file line number Diff line number Diff line change 5
5
/* Projects */
6
6
// "incremental": true, /* Save .tsbuildinfo files to allow for incremental compilation of projects. */
7
7
// "composite": true, /* Enable constraints that allow a TypeScript project to be used with project references. */
8
- // "tsBuildInfoFile": "./", /* Specify the folder for .tsbuildinfo incremental compilation files . */
8
+ // "tsBuildInfoFile": "./.tsbuildinfo ", /* Specify the path to .tsbuildinfo incremental compilation file . */
9
9
// "disableSourceOfProjectReferenceRedirect": true, /* Disable preferring source files instead of declaration files when referencing composite projects. */
10
10
// "disableSolutionSearching": true, /* Opt a project out of multi-project reference checking when editing. */
11
11
// "disableReferencedProjectLoad": true, /* Reduce the number of projects loaded automatically by TypeScript. */
Original file line number Diff line number Diff line change 5
5
/* Projects */
6
6
// "incremental": true, /* Save .tsbuildinfo files to allow for incremental compilation of projects. */
7
7
// "composite": true, /* Enable constraints that allow a TypeScript project to be used with project references. */
8
- // "tsBuildInfoFile": "./", /* Specify the folder for .tsbuildinfo incremental compilation files . */
8
+ // "tsBuildInfoFile": "./.tsbuildinfo ", /* Specify the path to .tsbuildinfo incremental compilation file . */
9
9
// "disableSourceOfProjectReferenceRedirect": true, /* Disable preferring source files instead of declaration files when referencing composite projects. */
10
10
// "disableSolutionSearching": true, /* Opt a project out of multi-project reference checking when editing. */
11
11
// "disableReferencedProjectLoad": true, /* Reduce the number of projects loaded automatically by TypeScript. */
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ interface Array<T> { length: number; [n: number]: T; }
26
26
/* Projects */
27
27
// "incremental": true, /* Save .tsbuildinfo files to allow for incremental compilation of projects. */
28
28
// "composite": true, /* Enable constraints that allow a TypeScript project to be used with project references. */
29
- // "tsBuildInfoFile": "./", /* Specify the folder for .tsbuildinfo incremental compilation files . */
29
+ // "tsBuildInfoFile": "./.tsbuildinfo ", /* Specify the path to .tsbuildinfo incremental compilation file . */
30
30
// "disableSourceOfProjectReferenceRedirect": true, /* Disable preferring source files instead of declaration files when referencing composite projects. */
31
31
// "disableSolutionSearching": true, /* Opt a project out of multi-project reference checking when editing. */
32
32
// "disableReferencedProjectLoad": true, /* Reduce the number of projects loaded automatically by TypeScript. */
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ interface Array<T> { length: number; [n: number]: T; }
26
26
/* Projects */
27
27
// "incremental": true, /* Save .tsbuildinfo files to allow for incremental compilation of projects. */
28
28
// "composite": true, /* Enable constraints that allow a TypeScript project to be used with project references. */
29
- // "tsBuildInfoFile": "./", /* Specify the folder for .tsbuildinfo incremental compilation files . */
29
+ // "tsBuildInfoFile": "./.tsbuildinfo ", /* Specify the path to .tsbuildinfo incremental compilation file . */
30
30
// "disableSourceOfProjectReferenceRedirect": true, /* Disable preferring source files instead of declaration files when referencing composite projects. */
31
31
// "disableSolutionSearching": true, /* Opt a project out of multi-project reference checking when editing. */
32
32
// "disableReferencedProjectLoad": true, /* Reduce the number of projects loaded automatically by TypeScript. */
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ interface Array<T> { length: number; [n: number]: T; }
26
26
/* Projects */
27
27
// "incremental": true, /* Save .tsbuildinfo files to allow for incremental compilation of projects. */
28
28
// "composite": true, /* Enable constraints that allow a TypeScript project to be used with project references. */
29
- // "tsBuildInfoFile": "./", /* Specify the folder for .tsbuildinfo incremental compilation files . */
29
+ // "tsBuildInfoFile": "./.tsbuildinfo ", /* Specify the path to .tsbuildinfo incremental compilation file . */
30
30
// "disableSourceOfProjectReferenceRedirect": true, /* Disable preferring source files instead of declaration files when referencing composite projects. */
31
31
// "disableSolutionSearching": true, /* Opt a project out of multi-project reference checking when editing. */
32
32
// "disableReferencedProjectLoad": true, /* Reduce the number of projects loaded automatically by TypeScript. */
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ interface Array<T> { length: number; [n: number]: T; }
26
26
/* Projects */
27
27
// "incremental": true, /* Save .tsbuildinfo files to allow for incremental compilation of projects. */
28
28
// "composite": true, /* Enable constraints that allow a TypeScript project to be used with project references. */
29
- // "tsBuildInfoFile": "./", /* Specify the folder for .tsbuildinfo incremental compilation files . */
29
+ // "tsBuildInfoFile": "./.tsbuildinfo ", /* Specify the path to .tsbuildinfo incremental compilation file . */
30
30
// "disableSourceOfProjectReferenceRedirect": true, /* Disable preferring source files instead of declaration files when referencing composite projects. */
31
31
// "disableSolutionSearching": true, /* Opt a project out of multi-project reference checking when editing. */
32
32
// "disableReferencedProjectLoad": true, /* Reduce the number of projects loaded automatically by TypeScript. */
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ interface Array<T> { length: number; [n: number]: T; }
26
26
/* Projects */
27
27
// "incremental": true, /* Save .tsbuildinfo files to allow for incremental compilation of projects. */
28
28
// "composite": true, /* Enable constraints that allow a TypeScript project to be used with project references. */
29
- // "tsBuildInfoFile": "./", /* Specify the folder for .tsbuildinfo incremental compilation files . */
29
+ // "tsBuildInfoFile": "./.tsbuildinfo ", /* Specify the path to .tsbuildinfo incremental compilation file . */
30
30
// "disableSourceOfProjectReferenceRedirect": true, /* Disable preferring source files instead of declaration files when referencing composite projects. */
31
31
// "disableSolutionSearching": true, /* Opt a project out of multi-project reference checking when editing. */
32
32
// "disableReferencedProjectLoad": true, /* Reduce the number of projects loaded automatically by TypeScript. */
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ interface Array<T> { length: number; [n: number]: T; }
26
26
/* Projects */
27
27
// "incremental": true, /* Save .tsbuildinfo files to allow for incremental compilation of projects. */
28
28
// "composite": true, /* Enable constraints that allow a TypeScript project to be used with project references. */
29
- // "tsBuildInfoFile": "./", /* Specify the folder for .tsbuildinfo incremental compilation files . */
29
+ // "tsBuildInfoFile": "./.tsbuildinfo ", /* Specify the path to .tsbuildinfo incremental compilation file . */
30
30
// "disableSourceOfProjectReferenceRedirect": true, /* Disable preferring source files instead of declaration files when referencing composite projects. */
31
31
// "disableSolutionSearching": true, /* Opt a project out of multi-project reference checking when editing. */
32
32
// "disableReferencedProjectLoad": true, /* Reduce the number of projects loaded automatically by TypeScript. */
You can’t perform that action at this time.
0 commit comments