From 04d65eef85223bb525ffeba6d25364c96c1adb14 Mon Sep 17 00:00:00 2001 From: justin Date: Mon, 27 Apr 2026 08:06:59 -0500 Subject: [PATCH] Fix remaining TypeScript syntax in inline script Arrow function type annotations (c: any) also crash in browsers. Co-Authored-By: Claude Opus 4.6 (1M context) --- site/src/pages/tools/fcc-compliance-check.astro | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/site/src/pages/tools/fcc-compliance-check.astro b/site/src/pages/tools/fcc-compliance-check.astro index 4cc1c97..6286dc3 100644 --- a/site/src/pages/tools/fcc-compliance-check.astro +++ b/site/src/pages/tools/fcc-compliance-check.astro @@ -281,8 +281,8 @@ import Base from "../../layouts/Base.astro"; const entityName = document.getElementById("entity-name")?.textContent || ""; const frn = document.getElementById("entity-frn")?.textContent || ""; const redChecks = (lastData?.checks || []) - .filter((c: any) => c.status === "red") - .map((c: any) => `• ${c.label}: ${c.detail}`) + .filter((c) => c.status === "red") + .map((c) => `• ${c.label}: ${c.detail}`) .join("\n"); const message = [