Skip to content

Commit

Permalink
chore: add return type
Browse files Browse the repository at this point in the history
  • Loading branch information
Timeless0911 committed Jul 2, 2024
1 parent 7b00683 commit 3b7c8ad
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/core/src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,9 @@ export function convertLibConfigToRsbuildConfig(
}
}

export async function composeCreateRsbuildConfig(rslibConfig: RslibConfig) {
export async function composeCreateRsbuildConfig(
rslibConfig: RslibConfig,
): Promise<Partial<Record<Format, RsbuildConfig>>> {
const internalRsbuildConfig = await createInternalRsbuildConfig();

const { lib: libConfigsArray, ...sharedRsbuildConfig } = rslibConfig;
Expand Down

0 comments on commit 3b7c8ad

Please sign in to comment.