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/enhanced-resolve/lib/forEachBail.js | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/node_modules/enhanced-resolve/lib/forEachBail.js b/node_modules/enhanced-resolve/lib/forEachBail.js
index 6dc4d1e..ec02184 100644
--- a/node_modules/enhanced-resolve/lib/forEachBail.js
+++ b/node_modules/enhanced-resolve/lib/forEachBail.js
@@ -12,7 +12,7 @@
* @template Z
* @callback Iterator
* @param {T} item item
- * @param {(err?: null|Error, result?: null|Z) => void} callback callback
+ * @param {(err?: null | Error, result?: null | Z) => void} callback callback
* @param {number} i index
* @returns {void}
*/
@@ -22,7 +22,7 @@
* @template Z
* @param {T[]} array array
* @param {Iterator<T, Z>} iterator iterator
- * @param {(err?: null|Error, result?: null|Z, i?: number) => void} callback callback after all items are iterated
+ * @param {(err?: null | Error, result?: null | Z, i?: number) => void} callback callback after all items are iterated
* @returns {void}
*/
module.exports = function forEachBail(array, iterator, callback) {
@@ -30,7 +30,7 @@
let i = 0;
const next = () => {
- /** @type {boolean|undefined} */
+ /** @type {boolean | undefined} */
let loop;
iterator(
array[i++],
--
Gitblit v1.9.3