From 87f7f4804ef4e3e2eba908109953724c5e411c87 Mon Sep 17 00:00:00 2001
From: Adam Laycock <adam.laycock@gmail.com>
Date: Thu, 27 Nov 2025 22:51:56 +0000
Subject: [PATCH] Prevent double-loading of afterDOMReady scripts (#2213)

---
 tsconfig.json |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/tsconfig.json b/tsconfig.json
index df6e2dd..637d096 100644
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -4,13 +4,15 @@
     "experimentalDecorators": true,
     "module": "esnext",
     "target": "esnext",
-    "moduleResolution": "bundler",
+    "moduleResolution": "node",
     "strict": true,
     "incremental": true,
     "resolveJsonModule": true,
     "skipLibCheck": true,
     "allowSyntheticDefaultImports": true,
     "forceConsistentCasingInFileNames": true,
+    "noUnusedLocals": true,
+    "noUnusedParameters": true,
     "esModuleInterop": true,
     "jsx": "react-jsx",
     "jsxImportSource": "preact"

--
Gitblit v1.10.0