From cc3945ccc6efbaf4d8f5be74822918d41912f50f Mon Sep 17 00:00:00 2001 From: Rhen Cloud Date: Sun, 18 Jan 2026 14:48:40 +0800 Subject: [PATCH] update --- app/app.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/app.vue b/app/app.vue index 90c876f..83cfc8c 100644 --- a/app/app.vue +++ b/app/app.vue @@ -27,7 +27,8 @@ const primaryRgb = hexToRgb(primaryColor); // proper head script entries to avoid inserting raw HTML into a script // element (which causes JS parse errors like "Unexpected token '<'"). const traceRaw = siteConfig.traceConfig?.script || ""; -const traceScripts = [] as any[]; +type TraceScript = { src?: string; children?: string; type?: string }; +const traceScripts: TraceScript[] = []; if (typeof traceRaw === "string" && traceRaw.trim()) { // find all