refactor: type the local Leaflet AIS adapter

This commit is contained in:
sjg
2026-08-01 12:23:37 +02:00
parent 5ba3ecf59b
commit 968fb3ea2d
6 changed files with 313 additions and 207 deletions
@@ -21,7 +21,6 @@ await build({
"map-core": path.join(sourceDir, "map-core.js"),
screenshot: path.join(sourceDir, "screenshot.ts"),
"webgl-renderer": path.join(sourceDir, "webgl-renderer.ts"),
"leaflet-ais-tracksymbol": path.join(sourceDir, "leaflet-ais-tracksymbol.js"),
ais: path.join(sourceDir, "plugins", "ais.js"),
aprs: path.join(sourceDir, "plugins", "aprs.js"),
"background-decode": path.join(sourceDir, "plugins", "background-decode.js"),
@@ -50,6 +49,7 @@ await build({
wspr: path.join(sourceDir, "plugins", "wspr.ts"),
cw: path.join(sourceDir, "plugins", "cw.ts"),
ft8: path.join(sourceDir, "plugins", "ft8.ts"),
"leaflet-ais-tracksymbol": path.join(sourceDir, "leaflet-ais-tracksymbol.ts"),
},
outdir: outputDir,
bundle: true,