fix(atlas): clear the knip findings of the globe Atlas

- The globe's geometry code types against geojson and
  topojson-specification; both are listed as client dev dependencies now
  (already installed through @types/topojson-client).
- Constants, helpers and types used only inside their own module lose
  their export.
- The GeoJSON types only the classic Atlas map read are removed; the knip
  baseline follows the lower counts in types.ts and offlineDb.ts.
This commit is contained in:
Maurice
2026-11-29 01:59:04 +01:00
parent a3db6e93bf
commit cac5b5c501
13 changed files with 17 additions and 30 deletions
+1 -1
View File
@@ -39,7 +39,7 @@ type Outcome = 'done' | 'parked' | 'stop';
let lastCreatedAt = 0;
/** Fill `{name}` placeholders of a path from `ids`. */
export function fillPath(url: string, ids: Record<string, number>): string {
function fillPath(url: string, ids: Record<string, number>): string {
return Object.entries(ids).reduce((path, [name, id]) => path.replace(`{${name}}`, String(id)), url);
}