Skip to content

Open Infrastructure Map, a view of infrastructure data in OpenStreetMap

TSConfig tweaks

Russ Garrette32cc5052130
diff --git a/web/tsconfig.json b/web/tsconfig.json
index 2a3fe91..a28eb6c 100644
--- a/web/tsconfig.json
+++ b/web/tsconfig.json
@@ -2,10 +2,9 @@
"compilerOptions": {
"target": "ES2020",
"useDefineForClassFields": true,
- "module": "ESNext",
- "lib": ["ES2020", "DOM", "DOM.Iterable"],
- "skipLibCheck": true,
- "allowJs": true,
+ "module": "es2022",
+ "lib": ["ES2020", "DOM"],
+ "allowJs": false,
/* Bundler mode */
"moduleResolution": "bundler",