From 462306c2de11c23fba0aaaa292d4e9f9cd6c157a Mon Sep 17 00:00:00 2001 From: Alex Date: Tue, 7 May 2024 16:26:45 +0300 Subject: [PATCH] fix types import --- explorer/src/lib/components/world-map/WorldMap.svelte | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/explorer/src/lib/components/world-map/WorldMap.svelte b/explorer/src/lib/components/world-map/WorldMap.svelte index cdf7d40941..7a2243c385 100644 --- a/explorer/src/lib/components/world-map/WorldMap.svelte +++ b/explorer/src/lib/components/world-map/WorldMap.svelte @@ -10,10 +10,10 @@ /** @type {Array<{lat: number, lon:number}> | Error}*/ export let nodes; - /** @type {import("d3").GeoProjection}*/ + /** @type {import("d3-geo").GeoProjection}*/ const projection = geoNaturalEarth1(); - /** @type {import("d3").GeoPath} */ + /** @type {import("d3-geo").GeoPath} */ const path = geoPath(projection); /** Function will return an empty array if an error is passed to it */