@@ -1422,7 +1422,7 @@ namespace ts {
14221422 * @param basePath A root directory to resolve relative path entries in the config
14231423 * file to. e.g. outDir
14241424 */
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 {
14261426 return parseJsonConfigFileContentWorker ( json , /*sourceFile*/ undefined , host , basePath , existingOptions , configFileName , resolutionStack , extraFileExtensions ) ;
14271427 }
14281428
@@ -1433,7 +1433,7 @@ namespace ts {
14331433 * @param basePath A root directory to resolve relative path entries in the config
14341434 * file to. e.g. outDir
14351435 */
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 {
14371437 return parseJsonConfigFileContentWorker ( /*json*/ undefined , sourceFile , host , basePath , existingOptions , configFileName , resolutionStack , extraFileExtensions ) ;
14381438 }
14391439
@@ -1472,7 +1472,7 @@ namespace ts {
14721472 existingOptions : CompilerOptions = { } ,
14731473 configFileName ?: string ,
14741474 resolutionStack : Path [ ] = [ ] ,
1475- extraFileExtensions : ReadonlyArray < JsFileExtensionInfo > = [ ] ,
1475+ extraFileExtensions : ReadonlyArray < FileExtensionInfo > = [ ] ,
14761476 ) : ParsedCommandLine {
14771477 Debug . assert ( ( json === undefined && sourceFile !== undefined ) || ( json !== undefined && sourceFile === undefined ) ) ;
14781478 const errors : Diagnostic [ ] = [ ] ;
@@ -2005,7 +2005,7 @@ namespace ts {
20052005 options : CompilerOptions ,
20062006 host : ParseConfigHost ,
20072007 errors : Push < Diagnostic > ,
2008- extraFileExtensions : ReadonlyArray < JsFileExtensionInfo > ,
2008+ extraFileExtensions : ReadonlyArray < FileExtensionInfo > ,
20092009 jsonSourceFile : JsonSourceFile
20102010 ) : ExpandResult {
20112011 basePath = normalizePath ( basePath ) ;
@@ -2043,7 +2043,7 @@ namespace ts {
20432043 * @param extraFileExtensions optionaly file extra file extension information from host
20442044 */
20452045 /* @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 {
20472047 basePath = normalizePath ( basePath ) ;
20482048
20492049 const keyMapper = host . useCaseSensitiveFileNames ? identity : toLowerCase ;
0 commit comments