@@ -583,7 +583,7 @@ type CacheHookMap = Map<string, SyncBailHook<[any[], StatsFactoryContext], any>[
583
583
export type CacheOptions = boolean;
584
584
585
585
// @public (undocumented)
586
- type Callback_2 = (stats?: Stats | MultiStats | undefined ) => any;
586
+ type Callback_2 = (stats?: Stats | MultiStats) => any;
587
587
588
588
// @public (undocumented)
589
589
type CallbackCache<T> = (err?: WebpackError_2 | null, result?: T) => void;
@@ -671,7 +671,7 @@ export type CircularDependencyRspackPluginOptions = {
671
671
failOnError?: boolean;
672
672
allowAsyncCycles?: boolean;
673
673
exclude?: RegExp;
674
- ignoredConnections?: Array< [string | RegExp, string | RegExp]> ;
674
+ ignoredConnections?: [string | RegExp, string | RegExp][] ;
675
675
onDetected?(entrypoint: Module, modules: string[], compilation: Compilation): void;
676
676
onIgnored?(entrypoint: Module, modules: string[], compilation: Compilation): void;
677
677
onStart?(compilation: Compilation): void;
@@ -878,7 +878,7 @@ export class Compilation {
878
878
// (undocumented)
879
879
chunkGraph: ChunkGraph;
880
880
// (undocumented)
881
- get chunkGroups(): ReadonlyArray< ChunkGroup> ;
881
+ get chunkGroups(): readonly ChunkGroup[] ;
882
882
// (undocumented)
883
883
get chunks(): ReadonlySet<Chunk>;
884
884
// (undocumented)
@@ -930,7 +930,7 @@ export class Compilation {
930
930
getAssetPath(filename: string, data?: PathData): string;
931
931
// (undocumented)
932
932
getAssetPathWithInfo(filename: string, data?: PathData): binding.PathWithInfo;
933
- getAssets(): ReadonlyArray< Asset> ;
933
+ getAssets(): readonly Asset[] ;
934
934
// (undocumented)
935
935
getCache(name: string): CacheFacade;
936
936
// (undocumented)
@@ -2343,9 +2343,9 @@ export type ExperimentCacheNormalized = boolean | {
2343
2343
buildDependencies: string[];
2344
2344
version: string;
2345
2345
snapshot: {
2346
- immutablePaths: Array< string | RegExp> ;
2347
- unmanagedPaths: Array< string | RegExp> ;
2348
- managedPaths: Array< string | RegExp> ;
2346
+ immutablePaths: ( string | RegExp)[] ;
2347
+ unmanagedPaths: ( string | RegExp)[] ;
2348
+ managedPaths: ( string | RegExp)[] ;
2349
2349
};
2350
2350
storage: {
2351
2351
type: "filesystem";
@@ -2361,9 +2361,9 @@ export type ExperimentCacheOptions = boolean | {
2361
2361
buildDependencies?: string[];
2362
2362
version?: string;
2363
2363
snapshot?: {
2364
- immutablePaths?: Array< string | RegExp> ;
2365
- unmanagedPaths?: Array< string | RegExp> ;
2366
- managedPaths?: Array< string | RegExp> ;
2364
+ immutablePaths?: ( string | RegExp)[] ;
2365
+ unmanagedPaths?: ( string | RegExp)[] ;
2366
+ managedPaths?: ( string | RegExp)[] ;
2367
2367
};
2368
2368
storage?: {
2369
2369
type: "filesystem";
@@ -2938,10 +2938,10 @@ interface HasSpan {
2938
2938
}
2939
2939
2940
2940
// @public (undocumented)
2941
- type Headers_2 = Array< {
2941
+ type Headers_2 = {
2942
2942
key: string;
2943
2943
value: string;
2944
- }> | Record<string, string | string[]>;
2944
+ }[] | Record<string, string | string[]>;
2945
2945
2946
2946
// @public (undocumented)
2947
2947
type HistoryApiFallbackOptions = {
@@ -3002,7 +3002,7 @@ export type HotUpdateMainFilename = FilenameTemplate;
3002
3002
export const HtmlRspackPlugin: typeof HtmlRspackPluginImpl & {
3003
3003
getHooks: (compilation: Compilation) => HtmlRspackPluginHooks;
3004
3004
getCompilationHooks: (compilation: Compilation) => HtmlRspackPluginHooks;
3005
- createHtmlTagObject: (tagName: string, attributes?: Record<string, string | boolean>, innerHTML?: string | undefined ) => JsHtmlPluginTag;
3005
+ createHtmlTagObject: (tagName: string, attributes?: Record<string, string | boolean>, innerHTML?: string) => JsHtmlPluginTag;
3006
3006
version: number;
3007
3007
};
3008
3008
@@ -4842,7 +4842,7 @@ export interface MultiCompilerOptions {
4842
4842
}
4843
4843
4844
4844
// @public (undocumented)
4845
- export type MultiRspackOptions = ReadonlyArray< RspackOptions> & MultiCompilerOptions;
4845
+ export type MultiRspackOptions = readonly RspackOptions[] & MultiCompilerOptions;
4846
4846
4847
4847
// @public (undocumented)
4848
4848
export class MultiStats {
@@ -5150,7 +5150,7 @@ export type Optimization = {
5150
5150
moduleIds?: "named" | "natural" | "deterministic";
5151
5151
chunkIds?: "natural" | "named" | "deterministic" | "size" | "total-size";
5152
5152
minimize?: boolean;
5153
- minimizer?: Array< "..." | Plugin_2> ;
5153
+ minimizer?: ( "..." | Plugin_2)[] ;
5154
5154
mergeDuplicateChunks?: boolean;
5155
5155
splitChunks?: false | OptimizationSplitChunksOptions;
5156
5156
runtimeChunk?: OptimizationRuntimeChunk;
@@ -5748,7 +5748,7 @@ type ProvidesV1Config = {
5748
5748
};
5749
5749
5750
5750
// @public (undocumented)
5751
- type ProxyConfigArray = (ProxyConfigArrayItem | ((req?: Request_2 | undefined , res?: Response_2 | undefined , next?: NextFunction | undefined ) => ProxyConfigArrayItem))[];
5751
+ type ProxyConfigArray = (ProxyConfigArrayItem | ((req?: Request_2, res?: Response_2, next?: NextFunction) => ProxyConfigArrayItem))[];
5752
5752
5753
5753
// @public (undocumented)
5754
5754
type ProxyConfigArrayItem = {
@@ -5975,7 +5975,7 @@ type RealPathSync = {
5975
5975
// @public (undocumented)
5976
5976
type RecursiveArrayOrRecord<T> = {
5977
5977
[index: string]: RecursiveArrayOrRecord<T>;
5978
- } | Array< RecursiveArrayOrRecord<T>> | T;
5978
+ } | RecursiveArrayOrRecord<T>[] | T;
5979
5979
5980
5980
// @public (undocumented)
5981
5981
interface RegExpLiteral extends Node_4, HasSpan {
@@ -6196,8 +6196,8 @@ const RsdoctorPluginImpl: {
6196
6196
6197
6197
// @public (undocumented)
6198
6198
type RsdoctorPluginOptions = {
6199
- moduleGraphFeatures?: boolean | Array< "graph" | "ids" | "sources"> ;
6200
- chunkGraphFeatures?: boolean | Array< "graph" | "assets"> ;
6199
+ moduleGraphFeatures?: boolean | ( "graph" | "ids" | "sources")[] ;
6200
+ chunkGraphFeatures?: boolean | ( "graph" | "assets")[] ;
6201
6201
sourceMapFeatures?: {
6202
6202
module?: boolean;
6203
6203
cheap?: boolean;
0 commit comments