From b9f27e939a7c55993cb1d7c0cfb782b81a3fb7b6 Mon Sep 17 00:00:00 2001 From: justin Date: Wed, 20 May 2026 16:02:42 -0500 Subject: [PATCH] Fix: remove TypeScript annotation from inline script (broke compliance checker) Record type annotation leaked into compiled JS output, causing SyntaxError that silently broke the entire script block. runCheck() and all event handlers stopped working. Co-Authored-By: Claude Opus 4.6 (1M context) --- site/src/pages/tools/fcc-compliance-check.astro | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site/src/pages/tools/fcc-compliance-check.astro b/site/src/pages/tools/fcc-compliance-check.astro index 4f3a401..27f0cb0 100644 --- a/site/src/pages/tools/fcc-compliance-check.astro +++ b/site/src/pages/tools/fcc-compliance-check.astro @@ -586,7 +586,7 @@ import Base from "../../layouts/Base.astro"; // Add penalty warning for red/yellow items if (status === "red" || status === "yellow") { - const penaltyMap: Record = { + const penaltyMap = { "rmd": "Carriers with inaccurate or missing RMD certifications face removal from the database — which blocks your calls from being completed on the US phone network. Penalties up to $500,000 per violation.", "cpni": "Failure to file the annual CPNI certification triggers FCC enforcement proceedings. Penalties up to $239,071 per violation, $2.39M for continuing violations.", "499a": "Non-filing results in USAC Red Light status, which blocks all FCC applications, license renewals, and equipment authorizations until resolved. Late fees and interest accrue.",