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