From 3bd962a6d7f61239c020e2dbbeb7341e5b842dd1 Mon Sep 17 00:00:00 2001
From: WXL <wl_5969728@163.com>
Date: 星期二, 21 四月 2026 11:46:41 +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