From d10dabf6045fde37660da5346d952d829b83bb0c Mon Sep 17 00:00:00 2001 From: Fred Boniface Date: Mon, 30 Mar 2026 22:57:57 +0100 Subject: [PATCH] Adjust generateGeohash from static to standard method to support singleton approach in Svelte without additonal import/exports --- src/modules/stationData.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/stationData.ts b/src/modules/stationData.ts index b658c24..9c1be6c 100644 --- a/src/modules/stationData.ts +++ b/src/modules/stationData.ts @@ -13,7 +13,7 @@ export class StationDataModule { * @param ln Longitude * @returns Geohash as string */ - static generateGeohash(lt: number, ln: number): string { + generateGeohash(lt: number, ln: number): string { return Geohash.encode(lt, ln, 6); }