@@ -100,7 +100,6 @@ interface WebpackCLIConfig {
100100interface WebpackCLICommand extends Command {
101101 pkg : string | undefined ;
102102 forHelp : boolean | undefined ;
103- options : WebpackCLICommandOption [ ] ;
104103 _args : WebpackCLICommandOption [ ] ;
105104}
106105
@@ -187,10 +186,7 @@ type Callback<T extends unknown[]> = (...args: T) => void;
187186/**
188187 * Webpack
189188 */
190- type WebpackConfiguration = Configuration & {
191- // TODO add extends to webpack types
192- extends ?: string | string [ ] ;
193- } ;
189+ type WebpackConfiguration = Configuration ;
194190type ConfigOptions = PotentialPromise < WebpackConfiguration | CallableOption > ;
195191type CallableOption = ( env : Env | undefined , argv : Argv ) => WebpackConfiguration ;
196192type WebpackCompiler = Compiler | MultiCompiler ;
@@ -209,7 +205,6 @@ type FileSystemCacheOptions = WebpackConfiguration & {
209205
210206type ProcessedArguments = Record < string , BasicPrimitive | RegExp | ( BasicPrimitive | RegExp ) [ ] > ;
211207
212- type MultipleCompilerStatsOptions = StatsOptions & { children : StatsOptions [ ] } ;
213208type CommandAction = Parameters < WebpackCLICommand [ "action" ] > [ 0 ] ;
214209
215210interface WebpackRunOptions extends WebpackOptionsNormalized {
@@ -339,7 +334,6 @@ export {
339334 Instantiable ,
340335 JsonExt ,
341336 ModuleName ,
342- MultipleCompilerStatsOptions ,
343337 PackageInstallOptions ,
344338 PackageManager ,
345339 Path ,
0 commit comments