@@ -1422,7 +1422,7 @@ namespace ts {
1422
1422
* @param basePath A root directory to resolve relative path entries in the config
1423
1423
* file to. e.g. outDir
1424
1424
*/
1425
- export function parseJsonConfigFileContent ( json : any , host : ParseConfigHost , basePath : string , existingOptions ?: CompilerOptions , configFileName ?: string , resolutionStack ?: Path [ ] , extraFileExtensions ?: ReadonlyArray < JsFileExtensionInfo > ) : ParsedCommandLine {
1425
+ export function parseJsonConfigFileContent ( json : any , host : ParseConfigHost , basePath : string , existingOptions ?: CompilerOptions , configFileName ?: string , resolutionStack ?: Path [ ] , extraFileExtensions ?: ReadonlyArray < FileExtensionInfo > ) : ParsedCommandLine {
1426
1426
return parseJsonConfigFileContentWorker ( json , /*sourceFile*/ undefined , host , basePath , existingOptions , configFileName , resolutionStack , extraFileExtensions ) ;
1427
1427
}
1428
1428
@@ -1433,7 +1433,7 @@ namespace ts {
1433
1433
* @param basePath A root directory to resolve relative path entries in the config
1434
1434
* file to. e.g. outDir
1435
1435
*/
1436
- export function parseJsonSourceFileConfigFileContent ( sourceFile : JsonSourceFile , host : ParseConfigHost , basePath : string , existingOptions ?: CompilerOptions , configFileName ?: string , resolutionStack ?: Path [ ] , extraFileExtensions ?: ReadonlyArray < JsFileExtensionInfo > ) : ParsedCommandLine {
1436
+ export function parseJsonSourceFileConfigFileContent ( sourceFile : JsonSourceFile , host : ParseConfigHost , basePath : string , existingOptions ?: CompilerOptions , configFileName ?: string , resolutionStack ?: Path [ ] , extraFileExtensions ?: ReadonlyArray < FileExtensionInfo > ) : ParsedCommandLine {
1437
1437
return parseJsonConfigFileContentWorker ( /*json*/ undefined , sourceFile , host , basePath , existingOptions , configFileName , resolutionStack , extraFileExtensions ) ;
1438
1438
}
1439
1439
@@ -1472,7 +1472,7 @@ namespace ts {
1472
1472
existingOptions : CompilerOptions = { } ,
1473
1473
configFileName ?: string ,
1474
1474
resolutionStack : Path [ ] = [ ] ,
1475
- extraFileExtensions : ReadonlyArray < JsFileExtensionInfo > = [ ] ,
1475
+ extraFileExtensions : ReadonlyArray < FileExtensionInfo > = [ ] ,
1476
1476
) : ParsedCommandLine {
1477
1477
Debug . assert ( ( json === undefined && sourceFile !== undefined ) || ( json !== undefined && sourceFile === undefined ) ) ;
1478
1478
const errors : Diagnostic [ ] = [ ] ;
@@ -2005,7 +2005,7 @@ namespace ts {
2005
2005
options : CompilerOptions ,
2006
2006
host : ParseConfigHost ,
2007
2007
errors : Push < Diagnostic > ,
2008
- extraFileExtensions : ReadonlyArray < JsFileExtensionInfo > ,
2008
+ extraFileExtensions : ReadonlyArray < FileExtensionInfo > ,
2009
2009
jsonSourceFile : JsonSourceFile
2010
2010
) : ExpandResult {
2011
2011
basePath = normalizePath ( basePath ) ;
@@ -2043,7 +2043,7 @@ namespace ts {
2043
2043
* @param extraFileExtensions optionaly file extra file extension information from host
2044
2044
*/
2045
2045
/* @internal */
2046
- export function getFileNamesFromConfigSpecs ( spec : ConfigFileSpecs , basePath : string , options : CompilerOptions , host : ParseConfigHost , extraFileExtensions : ReadonlyArray < JsFileExtensionInfo > = [ ] ) : ExpandResult {
2046
+ export function getFileNamesFromConfigSpecs ( spec : ConfigFileSpecs , basePath : string , options : CompilerOptions , host : ParseConfigHost , extraFileExtensions : ReadonlyArray < FileExtensionInfo > = [ ] ) : ExpandResult {
2047
2047
basePath = normalizePath ( basePath ) ;
2048
2048
2049
2049
const keyMapper = host . useCaseSensitiveFileNames ? identity : toLowerCase ;
0 commit comments