diff --git a/client/src/components/Map/basemapSpec.ts b/client/src/components/Map/basemapSpec.ts index e349cb67a..d68442d18 100644 --- a/client/src/components/Map/basemapSpec.ts +++ b/client/src/components/Map/basemapSpec.ts @@ -17,7 +17,7 @@ import { isGcj02Basemap, resolveBasemap, templateHost } from '../../utils/tileUr * pixel-density placeholders decided exactly as Leaflet decides them, so both * renderers ask the provider for the same tiles. Pure and free of both GL SDKs. */ -export type BasemapSpec = VectorBasemapSpec | RasterBasemapSpec; +type BasemapSpec = VectorBasemapSpec | RasterBasemapSpec; interface VectorBasemapSpec { kind: 'vector'; diff --git a/client/src/components/Map/useEffectiveMapEngine.ts b/client/src/components/Map/useEffectiveMapEngine.ts index acd69ef0c..95559283b 100644 --- a/client/src/components/Map/useEffectiveMapEngine.ts +++ b/client/src/components/Map/useEffectiveMapEngine.ts @@ -16,7 +16,7 @@ type OfflineBasemapPill = /** The user's map is kept as far as it was viewed; the pill switches to the stored region and back. */ | { kind: 'toggle'; pressed: boolean; onToggle: () => void }; -export interface EffectiveMapEngine { +interface EffectiveMapEngine { /** The GL engine that draws this render, or null for Leaflet. */ engine: GlMapProvider | null; /** The style a GL map draws instead of the user's: the stored offline basemap. */ diff --git a/scripts/ci/knip-baseline.json b/scripts/ci/knip-baseline.json index 78feb3172..ed2f3cab7 100644 --- a/scripts/ci/knip-baseline.json +++ b/scripts/ci/knip-baseline.json @@ -49,7 +49,7 @@ "client/src/components/Tours/planner/useTourPlanner.ts": 1, "client/src/components/shared/ErrorBoundary.tsx": 1, "client/src/components/shared/Toast.tsx": 1, - "client/src/constants/mapDefaults.ts": 4, + "client/src/constants/mapDefaults.ts": 3, "client/src/help/registry.ts": 1, "client/src/i18n/supportedLanguages.ts": 1, "client/src/mobile/screens/trip/roadtrip/useMRoadtrip.ts": 2,