WXL
3 天以前 9bce51f651aad297ef9eb6df832bfdaf1de05d84
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) => {