From e8397bddc8f87a5c243b6f1c7bb728c2ab223fb6 Mon Sep 17 00:00:00 2001 From: ypratama Date: Thu, 27 Aug 2026 15:57:46 +0700 Subject: [PATCH] Fix TypeScript tuple array typing for GlobeMap lines --- src/components/ui/GlobeMap.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/ui/GlobeMap.tsx b/src/components/ui/GlobeMap.tsx index 023d873..e049124 100644 --- a/src/components/ui/GlobeMap.tsx +++ b/src/components/ui/GlobeMap.tsx @@ -90,7 +90,7 @@ export const GlobeMap = ({ data }: GlobeMapProps) => { // Force the line to go straight across the map (the "front") // by interpolating multiple points. This prevents d3-geo from // wrapping around the dateline for long distances. - const coordinates = []; + const coordinates: [number, number][] = []; const steps = 30; for (let j = 0; j <= steps; j++) { const t = j / steps;