Skip to content

Open-source status page, incident response and uptime monitoring

fix: replace explicit any in Slack postToWebhook (biome-ignore) (#2089)

Avasis AI6e7703fb0a8d
diff --git a/packages/notifications/slack/src/index.ts b/packages/notifications/slack/src/index.ts
index 1119f86f8..597dc9dc7 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: <explanation>
-const postToWebhook = async (body: any, webhookUrl: string) => {
+const postToWebhook = async (
+ body: Record<string, unknown>,
+ webhookUrl: string,
+) => {
if (!webhookUrl || webhookUrl.trim() === "") {
throw new Error("Slack webhook URL is required");
}