From 1770fc4710c4f30ead61e031f7b59d64bd240253 Mon Sep 17 00:00:00 2001 From: neverland Date: Fri, 13 Sep 2024 13:17:02 +0800 Subject: [PATCH] chore: fix type for eco CI (#3472) --- 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(); + }); }), }; }