@@ -616,10 +616,10 @@ namespace ts {
616616 }
617617 }
618618 else if ( id === "include" ) {
619- options . include = ConvertJsonOptionToStringArray ( id , jsonTypingOptions [ id ] , errors ) ;
619+ options . include = convertJsonOptionToStringArray ( id , jsonTypingOptions [ id ] , errors ) ;
620620 }
621621 else if ( id === "exclude" ) {
622- options . exclude = ConvertJsonOptionToStringArray ( id , jsonTypingOptions [ id ] , errors ) ;
622+ options . exclude = convertJsonOptionToStringArray ( id , jsonTypingOptions [ id ] , errors ) ;
623623 }
624624 else {
625625 errors . push ( createCompilerDiagnostic ( Diagnostics . Unknown_typing_option_0 , id ) ) ;
@@ -668,7 +668,7 @@ namespace ts {
668668 break ;
669669 case "object" :
670670 // "object" options with 'isFilePath' = true expected to be string arrays
671- value = ConvertJsonOptionToStringArray ( opt . name , value , errors , ( element ) => normalizePath ( combinePaths ( basePath , element ) ) ) ;
671+ value = convertJsonOptionToStringArray ( opt . name , value , errors , ( element ) => normalizePath ( combinePaths ( basePath , element ) ) ) ;
672672 break ;
673673 }
674674 if ( value === "" ) {
@@ -689,7 +689,7 @@ namespace ts {
689689 return { options, errors } ;
690690 }
691691
692- function ConvertJsonOptionToStringArray ( optionName : string , optionJson : any , errors : Diagnostic [ ] , func ?: ( element : string ) => string ) : string [ ] {
692+ function convertJsonOptionToStringArray ( optionName : string , optionJson : any , errors : Diagnostic [ ] , func ?: ( element : string ) => string ) : string [ ] {
693693 const items : string [ ] = [ ] ;
694694 let invalidOptionType = false ;
695695 if ( ! isArray ( optionJson ) ) {
0 commit comments