Fix: remove TypeScript annotation from inline script (broke compliance checker)

Record<string, string> 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) <noreply@anthropic.com>
This commit is contained in:
justin 2026-05-20 16:02:42 -05:00
parent 45e2172417
commit b9f27e939a

View file

@ -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<string, string> = {
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.",