From 6e7703fb0a8d04cfc830d8ae1c0b3828fb94ae28 Mon Sep 17 00:00:00 2001 From: Avasis AI Date: Sun, 19 Apr 2026 19:30:40 +0530 Subject: [PATCH] fix: replace explicit any in Slack postToWebhook (biome-ignore) (#2089) * fix: replace any with Record in Slack postToWebhook * ci: apply automated fixes --------- Co-authored-by: Abhay Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> --- packages/notifications/slack/src/index.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/notifications/slack/src/index.ts b/packages/notifications/slack/src/index.ts index 1119f86f..597dc9dc 100644 --- a/packages/notifications/slack/src/index.ts +++ b/packages/notifications/slack/src/index.ts @@ -11,8 +11,10 @@ import { buildRecoveryBlocks, } from "./blocks"; -// biome-ignore lint/suspicious/noExplicitAny: -const postToWebhook = async (body: any, webhookUrl: string) => { +const postToWebhook = async ( + body: Record, + webhookUrl: string, +) => { if (!webhookUrl || webhookUrl.trim() === "") { throw new Error("Slack webhook URL is required"); } -- 2.51.2