From 2cc85c64f1c64a2dbaeae276a3e2ca8420de76b7 Mon Sep 17 00:00:00 2001
From: WXL <wl_5969728@163.com>
Date: 星期三, 22 四月 2026 18:09:58 +0800
Subject: [PATCH] 上报转运调试
---
node_modules/webpack/lib/util/serialization.js | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/node_modules/webpack/lib/util/serialization.js b/node_modules/webpack/lib/util/serialization.js
index 92e047e..210414a 100644
--- a/node_modules/webpack/lib/util/serialization.js
+++ b/node_modules/webpack/lib/util/serialization.js
@@ -9,10 +9,11 @@
/** @typedef {import("../serialization/BinaryMiddleware").MEASURE_END_OPERATION_TYPE} MEASURE_END_OPERATION */
/** @typedef {import("../serialization/BinaryMiddleware").MEASURE_START_OPERATION_TYPE} MEASURE_START_OPERATION */
-/** @typedef {typeof import("../util/Hash")} Hash */
+/** @typedef {import("../util/Hash").HashFunction} HashFunction */
/** @typedef {import("../util/fs").IntermediateFileSystem} IntermediateFileSystem */
/**
+ * Defines the serializer type used by this module.
* @template D, S, C
* @typedef {import("../serialization/Serializer")<D, S, C>} Serializer
*/
@@ -109,9 +110,10 @@
);
},
/**
+ * Creates a file serializer.
* @template D, S, C
* @param {IntermediateFileSystem} fs filesystem
- * @param {string | Hash} hashFunction hash function to use
+ * @param {HashFunction} hashFunction hash function to use
* @returns {Serializer<D, S, C>} file serializer
*/
createFileSerializer: (fs, hashFunction) => {
--
Gitblit v1.9.3