diff --git a/heatmap-tool/frontend/src/vite-env.d.ts b/heatmap-tool/frontend/src/vite-env.d.ts new file mode 100644 index 00000000..b690b101 --- /dev/null +++ b/heatmap-tool/frontend/src/vite-env.d.ts @@ -0,0 +1,3 @@ +/// + +declare module 'react-leaflet-heatmap-layer-v3'; diff --git a/heatmap-tool/frontend/tsconfig.app.json b/heatmap-tool/frontend/tsconfig.app.json new file mode 100644 index 00000000..f4dce2e1 --- /dev/null +++ b/heatmap-tool/frontend/tsconfig.app.json @@ -0,0 +1,26 @@ +{ + "compilerOptions": { + "target": "ES2020", + "useDefineForClassFields": true, + "lib": ["ES2020", "DOM", "DOM.Iterable"], + "module": "ESNext", + "skipLibCheck": true, + + /* Bundler mode */ + "moduleResolution": "bundler", + "allowImportingTsExtensions": true, + "resolveJsonModule": true, + "isolatedModules": true, + "moduleDetection": "force", + "noEmit": true, + "jsx": "react-jsx", + + /* Linting - Relaxed for production build stability */ + "strict": true, + "noUnusedLocals": false, + "noUnusedParameters": false, + "noFallthroughCasesInSwitch": true, + "verbatimModuleSyntax": false + }, + "include": ["src"] +} \ No newline at end of file