mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-18 03:17:28 +00:00
fix: appease tsc in test helpers
This commit is contained in:
@@ -281,7 +281,7 @@ vi.mock("../config/config.js", async () => {
|
||||
? { ...testState.channelsConfig }
|
||||
: {};
|
||||
const existing = baseChannels.whatsapp;
|
||||
const mergedWhatsApp =
|
||||
const mergedWhatsApp: Record<string, unknown> =
|
||||
existing && typeof existing === "object" && !Array.isArray(existing)
|
||||
? { ...existing }
|
||||
: {};
|
||||
|
||||
Reference in New Issue
Block a user