@@ -955,7 +955,7 @@ export class Compilation {
955955 log: liteTapable.SyncBailHook<[string, LogEntry], true>;
956956 additionalAssets: any;
957957 optimizeModules: liteTapable.SyncBailHook<Iterable<Module>, void>;
958- afterOptimizeModules: liteTapable.SyncHook<Iterable<Module>, void >;
958+ afterOptimizeModules: liteTapable.SyncHook<Iterable<Module>>;
959959 optimizeTree: liteTapable.AsyncSeriesHook<[
960960 Iterable<Chunk>,
961961 Iterable<Module>
@@ -965,21 +965,18 @@ export class Compilation {
965965 Iterable<Module>
966966 ], void>;
967967 finishModules: liteTapable.AsyncSeriesHook<[Iterable<Module>], void>;
968- chunkHash: liteTapable.SyncHook<[Chunk, Hash], void >;
969- chunkAsset: liteTapable.SyncHook<[Chunk, string], void >;
968+ chunkHash: liteTapable.SyncHook<[Chunk, Hash]>;
969+ chunkAsset: liteTapable.SyncHook<[Chunk, string]>;
970970 processWarnings: liteTapable.SyncWaterfallHook<[WebpackError_2[]]>;
971- succeedModule: liteTapable.SyncHook<[Module], void>;
972- stillValidModule: liteTapable.SyncHook<[Module], void>;
973- statsPreset: liteTapable.HookMap<liteTapable.SyncHook<[
974- Partial<StatsOptions>,
975- CreateStatsOptionsContext
976- ], void>>;
971+ succeedModule: liteTapable.SyncHook<[Module]>;
972+ stillValidModule: liteTapable.SyncHook<[Module]>;
973+ statsPreset: liteTapable.HookMap<liteTapable.SyncHook<[Partial<StatsOptions>, CreateStatsOptionsContext]>>;
977974 statsNormalize: liteTapable.SyncHook<[
978975 Partial<StatsOptions>,
979976 CreateStatsOptionsContext
980- ], void >;
981- statsFactory: liteTapable.SyncHook<[StatsFactory, StatsOptions], void >;
982- statsPrinter: liteTapable.SyncHook<[StatsPrinter, StatsOptions], void >;
977+ ]>;
978+ statsFactory: liteTapable.SyncHook<[StatsFactory, StatsOptions]>;
979+ statsPrinter: liteTapable.SyncHook<[StatsPrinter, StatsOptions]>;
983980 buildModule: liteTapable.SyncHook<[Module]>;
984981 executeModule: liteTapable.SyncHook<[
985982 ExecuteModuleArgument,
@@ -988,10 +985,10 @@ export class Compilation {
988985 additionalTreeRuntimeRequirements: liteTapable.SyncHook<[
989986 Chunk,
990987 Set<string>
991- ], void >;
988+ ]>;
992989 runtimeRequirementInTree: liteTapable.HookMap<liteTapable.SyncBailHook<[Chunk, Set<string>], void>>;
993- runtimeModule: liteTapable.SyncHook<[JsRuntimeModule, Chunk], void >;
994- seal: liteTapable.SyncHook<[], void >;
990+ runtimeModule: liteTapable.SyncHook<[JsRuntimeModule, Chunk]>;
991+ seal: liteTapable.SyncHook<[]>;
995992 afterSeal: liteTapable.AsyncSeriesHook<[], void>;
996993 needAdditionalPass: liteTapable.SyncBailHook<[], boolean>;
997994 }>;
@@ -1784,7 +1781,7 @@ type DevServerOptions<A extends BasicApplication = BasicApplication, S extends B
17841781 open?: string | boolean | Open_2 | (string | Open_2)[] | undefined;
17851782 setupExitSignals?: boolean | undefined;
17861783 client?: boolean | ClientConfiguration | undefined;
1787- headers?: Headers_2 | ((req: Request_2, res: Response_2, context: DevMiddlewareContext<Request_2, Response_2> | undefined) => Headers_2) | undefined;
1784+ headers?: Headers_2 | ((req: Request_2, res: Response_2, context: DevMiddlewareContext | undefined) => Headers_2) | undefined;
17881785 onListening?: ((devServer: Server_4) => void) | undefined;
17891786 setupMiddlewares?: ((middlewares: DevServerMiddleware[], devServer: Server_4) => DevServerMiddleware[]) | undefined;
17901787};
@@ -3281,9 +3278,9 @@ type IntermediateFileSystem = InputFileSystem & OutputFileSystem & IntermediateF
32813278type IntermediateFileSystemExtras = {
32823279 rename: (arg0: PathLike, arg1: PathLike, arg2: (arg0: null | NodeJS.ErrnoException) => void) => void;
32833280 mkdirSync: MkdirSync;
3284- write: Write<Buffer> ;
3281+ write: Write;
32853282 open: Open;
3286- read: Read<Buffer> ;
3283+ read: Read;
32873284 close: (arg0: number, arg1: (arg0: null | NodeJS.ErrnoException) => void) => void;
32883285};
32893286
0 commit comments