From 3cf92152c346e749ac5f5c536e1704a668eb6579 Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Sun, 18 Jan 2026 18:54:59 +0000 Subject: [PATCH] fix: appease tsc in test helpers --- src/gateway/test-helpers.mocks.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gateway/test-helpers.mocks.ts b/src/gateway/test-helpers.mocks.ts index b98aad469..36c25897b 100644 --- a/src/gateway/test-helpers.mocks.ts +++ b/src/gateway/test-helpers.mocks.ts @@ -281,7 +281,7 @@ vi.mock("../config/config.js", async () => { ? { ...testState.channelsConfig } : {}; const existing = baseChannels.whatsapp; - const mergedWhatsApp = + const mergedWhatsApp: Record = existing && typeof existing === "object" && !Array.isArray(existing) ? { ...existing } : {};