From b1f6f8d1e52fc6d07e5d095a8df8e965abf9f05b Mon Sep 17 00:00:00 2001 From: Daniel Michelberger Date: Thu, 6 Aug 2026 18:19:32 +0200 Subject: [PATCH] =?UTF-8?q?docs:=20maplibre-gl=20hat=20keinen=20Default-Ex?= =?UTF-8?q?port=20=E2=80=94=20Importzeile=20im=20Plan=20korrigieren?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/superpowers/plans/2026-08-06-trails.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/superpowers/plans/2026-08-06-trails.md b/docs/superpowers/plans/2026-08-06-trails.md index dbb3f08..8045017 100644 --- a/docs/superpowers/plans/2026-08-06-trails.md +++ b/docs/superpowers/plans/2026-08-06-trails.md @@ -1690,7 +1690,10 @@ npm install maplibre-gl * Komponente in Liste, Detailseite und Setzmodus gleichermaßen nutzbar. */ import { onMount } from 'svelte' - import maplibregl, { type Map as MapLibreMap, type Marker } from 'maplibre-gl' + // maplibre-gl 6.x hat keinen Default-Export — ein `import maplibregl from` + // scheitert mit TS1192. + import * as maplibregl from 'maplibre-gl' + import type { Map as MapLibreMap, Marker } from 'maplibre-gl' import 'maplibre-gl/dist/maplibre-gl.css' type LineGeoJSON = { type: 'LineString'; coordinates: [number, number][] }