@@ -580,6 +580,7 @@ export interface ArrayDeclarationOption extends DeclarationOptionBase {
580580 type :
581581 | ParameterType . Array
582582 | ParameterType . PathArray
583+ // eslint-disable-next-line @typescript-eslint/no-deprecated
583584 | ParameterType . ModuleArray
584585 | ParameterType . PluginArray ;
585586
@@ -687,6 +688,7 @@ export interface ParameterTypeToOptionTypeMap {
687688 [ ParameterType . Object ] : unknown ;
688689 [ ParameterType . Array ] : string [ ] ;
689690 [ ParameterType . PathArray ] : NormalizedPath [ ] ;
691+ // eslint-disable-next-line @typescript-eslint/no-deprecated
690692 [ ParameterType . ModuleArray ] : NormalizedPathOrModule [ ] ;
691693 [ ParameterType . PluginArray ] : Array < NormalizedPathOrModule | ( ( app : Application ) => void | Promise < void > ) > ;
692694 [ ParameterType . GlobArray ] : GlobString [ ] ;
@@ -785,6 +787,7 @@ const converters: {
785787 option . validate ?.( normalized ) ;
786788 return normalized ;
787789 } ,
790+ // eslint-disable-next-line @typescript-eslint/no-deprecated
788791 [ ParameterType . ModuleArray ] ( value , option , configPath ) {
789792 const strArrValue = toStringArray ( value , option ) ;
790793 const resolved = resolveModulePaths ( strArrValue , configPath ) ;
@@ -971,6 +974,7 @@ const defaultGetters: {
971974 option . defaultValue ?. map ( ( value ) => normalizePath ( resolve ( process . cwd ( ) , value ) ) ) ?? [ ]
972975 ) ;
973976 } ,
977+ // eslint-disable-next-line @typescript-eslint/no-deprecated
974978 [ ParameterType . ModuleArray ] ( option ) {
975979 if ( option . defaultValue ) {
976980 return resolveModulePaths ( option . defaultValue , process . cwd ( ) ) ;
0 commit comments