From 39ac9449943903875604a74f40f6f330889a50e4 Mon Sep 17 00:00:00 2001 From: Stephen Adamson Date: Sat, 20 Jun 2026 16:59:51 +0100 Subject: [PATCH] chore(frontend): add @types/geojson dependency Add GeoJSON type definitions for TypeScript support. - Add @types/geojson package dependency - Add 'geojson' to tsconfig types array Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus --- frontend/package.json | 1 + frontend/tsconfig.json | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/frontend/package.json b/frontend/package.json index e698548..a8d92d3 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -27,6 +27,7 @@ "@sveltejs/kit": "^2.22.0", "@sveltejs/vite-plugin-svelte": "^6.2.4", "@tailwindcss/vite": "^4.2.0", + "@types/geojson": "^7946.0.16", "@types/node": "^22.19.11", "bits-ui": "^2.16.1", "clsx": "^2.1.1", diff --git a/frontend/tsconfig.json b/frontend/tsconfig.json index a5567ee..d6208e2 100644 --- a/frontend/tsconfig.json +++ b/frontend/tsconfig.json @@ -9,7 +9,8 @@ "skipLibCheck": true, "sourceMap": true, "strict": true, - "moduleResolution": "bundler" + "moduleResolution": "bundler", + "types": ["geojson"] } // Path aliases are handled by https://svelte.dev/docs/kit/configuration#alias // except $lib which is handled by https://svelte.dev/docs/kit/configuration#files