From 3b7c8adc48136c37a1b01196739aa3288121c0bf Mon Sep 17 00:00:00 2001 From: Timeless0911 <1604889533@qq.com> Date: Tue, 2 Jul 2024 17:44:02 +0800 Subject: [PATCH] chore: add return type --- packages/core/src/config.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/core/src/config.ts b/packages/core/src/config.ts index d5c627e37..eb661e207 100644 --- a/packages/core/src/config.ts +++ b/packages/core/src/config.ts @@ -145,7 +145,9 @@ export function convertLibConfigToRsbuildConfig( } } -export async function composeCreateRsbuildConfig(rslibConfig: RslibConfig) { +export async function composeCreateRsbuildConfig( + rslibConfig: RslibConfig, +): Promise>> { const internalRsbuildConfig = await createInternalRsbuildConfig(); const { lib: libConfigsArray, ...sharedRsbuildConfig } = rslibConfig;