@@ -1421,7 +1421,7 @@ namespace ts {
14211421 * @param basePath A root directory to resolve relative path entries in the config
14221422 * file to. e.g. outDir
14231423 */
1424- export function parseJsonConfigFileContent ( json : any , host : ParseConfigHost , basePath : string , existingOptions ?: CompilerOptions , configFileName ?: string , resolutionStack ?: Path [ ] , extraFileExtensions ?: ReadonlyArray < JsFileExtensionInfo > ) : ParsedCommandLine {
1424+ export function parseJsonConfigFileContent ( json : any , host : ParseConfigHost , basePath : string , existingOptions ?: CompilerOptions , configFileName ?: string , resolutionStack ?: Path [ ] , extraFileExtensions ?: ReadonlyArray < FileExtensionInfo > ) : ParsedCommandLine {
14251425 return parseJsonConfigFileContentWorker ( json , /*sourceFile*/ undefined , host , basePath , existingOptions , configFileName , resolutionStack , extraFileExtensions ) ;
14261426 }
14271427
@@ -1432,7 +1432,7 @@ namespace ts {
14321432 * @param basePath A root directory to resolve relative path entries in the config
14331433 * file to. e.g. outDir
14341434 */
1435- export function parseJsonSourceFileConfigFileContent ( sourceFile : JsonSourceFile , host : ParseConfigHost , basePath : string , existingOptions ?: CompilerOptions , configFileName ?: string , resolutionStack ?: Path [ ] , extraFileExtensions ?: ReadonlyArray < JsFileExtensionInfo > ) : ParsedCommandLine {
1435+ export function parseJsonSourceFileConfigFileContent ( sourceFile : JsonSourceFile , host : ParseConfigHost , basePath : string , existingOptions ?: CompilerOptions , configFileName ?: string , resolutionStack ?: Path [ ] , extraFileExtensions ?: ReadonlyArray < FileExtensionInfo > ) : ParsedCommandLine {
14361436 return parseJsonConfigFileContentWorker ( /*json*/ undefined , sourceFile , host , basePath , existingOptions , configFileName , resolutionStack , extraFileExtensions ) ;
14371437 }
14381438
@@ -1471,7 +1471,7 @@ namespace ts {
14711471 existingOptions : CompilerOptions = { } ,
14721472 configFileName ?: string ,
14731473 resolutionStack : Path [ ] = [ ] ,
1474- extraFileExtensions : ReadonlyArray < JsFileExtensionInfo > = [ ] ,
1474+ extraFileExtensions : ReadonlyArray < FileExtensionInfo > = [ ] ,
14751475 ) : ParsedCommandLine {
14761476 Debug . assert ( ( json === undefined && sourceFile !== undefined ) || ( json !== undefined && sourceFile === undefined ) ) ;
14771477 const errors : Diagnostic [ ] = [ ] ;
@@ -2004,7 +2004,7 @@ namespace ts {
20042004 options : CompilerOptions ,
20052005 host : ParseConfigHost ,
20062006 errors : Push < Diagnostic > ,
2007- extraFileExtensions : ReadonlyArray < JsFileExtensionInfo > ,
2007+ extraFileExtensions : ReadonlyArray < FileExtensionInfo > ,
20082008 jsonSourceFile : JsonSourceFile
20092009 ) : ExpandResult {
20102010 basePath = normalizePath ( basePath ) ;
@@ -2042,7 +2042,7 @@ namespace ts {
20422042 * @param extraFileExtensions optionaly file extra file extension information from host
20432043 */
20442044 /* @internal */
2045- export function getFileNamesFromConfigSpecs ( spec : ConfigFileSpecs , basePath : string , options : CompilerOptions , host : ParseConfigHost , extraFileExtensions : ReadonlyArray < JsFileExtensionInfo > = [ ] ) : ExpandResult {
2045+ export function getFileNamesFromConfigSpecs ( spec : ConfigFileSpecs , basePath : string , options : CompilerOptions , host : ParseConfigHost , extraFileExtensions : ReadonlyArray < FileExtensionInfo > = [ ] ) : ExpandResult {
20462046 basePath = normalizePath ( basePath ) ;
20472047
20482048 const keyMapper = host . useCaseSensitiveFileNames ? identity : toLowerCase ;
0 commit comments