@@ -860,9 +860,9 @@ namespace ts {
860860 }
861861
862862 /**
863- * Read tsconfig.json file
864- * @param fileName The path to the config file
865- */
863+ * Read tsconfig.json file
864+ * @param fileName The path to the config file
865+ */
866866 export function readConfigFile ( fileName : string , readFile : ( path : string ) => string ) : { config ?: any ; error ?: Diagnostic } {
867867 let text = "" ;
868868 try {
@@ -875,10 +875,10 @@ namespace ts {
875875 }
876876
877877 /**
878- * Parse the text of the tsconfig.json file
879- * @param fileName The path to the config file
880- * @param jsonText The text of the config file
881- */
878+ * Parse the text of the tsconfig.json file
879+ * @param fileName The path to the config file
880+ * @param jsonText The text of the config file
881+ */
882882 export function parseConfigFileTextToJson ( fileName : string , jsonText : string , stripComments = true ) : { config ?: any ; error ?: Diagnostic } {
883883 try {
884884 const jsonTextToParse = stripComments ? removeComments ( jsonText ) : jsonText ;
@@ -1083,12 +1083,12 @@ namespace ts {
10831083 }
10841084
10851085 /**
1086- * Parse the contents of a config file (tsconfig.json).
1087- * @param json The contents of the config file to parse
1088- * @param host Instance of ParseConfigHost used to enumerate files in folder.
1089- * @param basePath A root directory to resolve relative path entries in the config
1090- * file to. e.g. outDir
1091- */
1086+ * Parse the contents of a config file (tsconfig.json).
1087+ * @param json The contents of the config file to parse
1088+ * @param host Instance of ParseConfigHost used to enumerate files in folder.
1089+ * @param basePath A root directory to resolve relative path entries in the config
1090+ * file to. e.g. outDir
1091+ */
10921092 export function parseJsonConfigFileContent ( json : any , host : ParseConfigHost , basePath : string , existingOptions : CompilerOptions = { } , configFileName ?: string , resolutionStack : Path [ ] = [ ] , extraFileExtensions : JsFileExtensionInfo [ ] = [ ] ) : ParsedCommandLine {
10931093 const errors : Diagnostic [ ] = [ ] ;
10941094 basePath = normalizeSlashes ( basePath ) ;
0 commit comments