From a8ac45501332c6155ff29eba8df35e328e0e3428 Mon Sep 17 00:00:00 2001 From: neverland Date: Fri, 13 Sep 2024 13:09:02 +0800 Subject: [PATCH] chore: fix type for eco CI --- packages/compat/webpack/src/build.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/compat/webpack/src/build.ts b/packages/compat/webpack/src/build.ts index 851c6c26db..bafdec6fdc 100644 --- a/packages/compat/webpack/src/build.ts +++ b/packages/compat/webpack/src/build.ts @@ -40,7 +40,9 @@ export const build = async ( return { close: () => new Promise((resolve) => { - watching.close(resolve); + watching.close(() => { + resolve(); + }); }), }; }