From 9bce51f651aad297ef9eb6df832bfdaf1de05d84 Mon Sep 17 00:00:00 2001
From: WXL <wl_5969728@163.com>
Date: 星期三, 22 四月 2026 14:27:54 +0800
Subject: [PATCH] 青岛推送

---
 node_modules/webpack/lib/stats/StatsFactory.js |   16 ++++++++++++++--
 1 files changed, 14 insertions(+), 2 deletions(-)

diff --git a/node_modules/webpack/lib/stats/StatsFactory.js b/node_modules/webpack/lib/stats/StatsFactory.js
index d74108e..7b3d286 100644
--- a/node_modules/webpack/lib/stats/StatsFactory.js
+++ b/node_modules/webpack/lib/stats/StatsFactory.js
@@ -22,6 +22,7 @@
 /** @typedef {import("../util/comparators").Comparator<EXPECTED_ANY>} Comparator */
 /** @typedef {import("../util/runtime").RuntimeSpec} RuntimeSpec */
 /**
+ * Defines the group config type used by this module.
  * @template T, R
  * @typedef {import("../util/smartGrouping").GroupConfig<T, R>} GroupConfig
  */
@@ -42,6 +43,7 @@
 /** @typedef {import("./DefaultStatsFactoryPlugin").StatsProfile} StatsProfile */
 
 /**
+ * Defines the known stats factory context type used by this module.
  * @typedef {object} KnownStatsFactoryContext
  * @property {string} type
  * @property {Compilation} compilation
@@ -59,12 +61,14 @@
 // StatsLogging StatsLoggingEntry
 
 /**
+ * Defines the stats object type used by this module.
  * @template T
  * @template F
  * @typedef {T extends Compilation ? StatsCompilation : T extends ChunkGroupInfoWithName ? StatsChunkGroup : T extends Chunk ? StatsChunk : T extends OriginRecord ? StatsChunkOrigin : T extends Module ? StatsModule : T extends ModuleGraphConnection ? StatsModuleReason : T extends Asset ? StatsAsset : T extends ModuleTrace ? StatsModuleTraceItem : T extends Dependency ? StatsModuleTraceDependency : T extends Error ? StatsError : T extends ModuleProfile ? StatsProfile : F} StatsObject
  */
 
 /**
+ * Defines the created object type used by this module.
  * @template T
  * @template F
  * @typedef {T extends ChunkGroupInfoWithName[] ? Record<string, StatsObject<ChunkGroupInfoWithName, F>> : T extends (infer V)[] ? StatsObject<V, F>[] : StatsObject<T, F>} CreatedObject
@@ -76,6 +80,7 @@
 /** @typedef {EXPECTED_ANY} Result */
 
 /**
+ * Defines the stats factory hooks type used by this module.
  * @typedef {object} StatsFactoryHooks
  * @property {HookMap<SyncBailHook<[ObjectForExtract, FactoryData, StatsFactoryContext], void>>} extract
  * @property {HookMap<SyncBailHook<[FactoryDataItem, StatsFactoryContext, number, number], boolean | void>>} filter
@@ -91,6 +96,7 @@
  */
 
 /**
+ * Represents the stats factory runtime component.
  * @template T
  * @typedef {Map<string, T[]>} Caches
  */
@@ -133,6 +139,7 @@
 	}
 
 	/**
+	 * Get all level hooks.
 	 * @template {StatsFactoryHooks[keyof StatsFactoryHooks]} HM
 	 * @template {HM extends HookMap<infer H> ? H : never} H
 	 * @param {HM} hookMap hook map
@@ -159,9 +166,10 @@
 	}
 
 	/**
+	 * Returns hook.
 	 * @template {StatsFactoryHooks[keyof StatsFactoryHooks]} HM
 	 * @template {HM extends HookMap<infer H> ? H : never} H
-	 * @template {H extends import("tapable").Hook<any, infer R> ? R : never} R
+	 * @template {H extends import("tapable").Hook<EXPECTED_ANY, infer R> ? R : never} R
 	 * @param {HM} hookMap hook map
 	 * @param {Caches<H>} cache cache
 	 * @param {string} type type
@@ -177,6 +185,7 @@
 	}
 
 	/**
+	 * For each level waterfall.
 	 * @template {StatsFactoryHooks[keyof StatsFactoryHooks]} HM
 	 * @template {HM extends HookMap<infer H> ? H : never} H
 	 * @param {HM} hookMap hook map
@@ -195,9 +204,10 @@
 	}
 
 	/**
+	 * For each level filter.
 	 * @template {StatsFactoryHooks[keyof StatsFactoryHooks]} T
 	 * @template {T extends HookMap<infer H> ? H : never} H
-	 * @template {H extends import("tapable").Hook<any, infer R> ? R : never} R
+	 * @template {H extends import("tapable").Hook<EXPECTED_ANY, infer R> ? R : never} R
 	 * @param {T} hookMap hook map
 	 * @param {Caches<H>} cache cache
 	 * @param {string} type type
@@ -225,6 +235,7 @@
 	}
 
 	/**
+	 * Returns created object.
 	 * @template FactoryData
 	 * @template FallbackCreatedObject
 	 * @param {string} type type
@@ -248,6 +259,7 @@
 	}
 
 	/**
+	 * Returns created object.
 	 * @private
 	 * @template FactoryData
 	 * @template FallbackCreatedObject

--
Gitblit v1.9.3