Skip to content

Commit

Permalink
fix types import
Browse files Browse the repository at this point in the history
  • Loading branch information
deuch13 committed May 7, 2024
1 parent 7b5f923 commit 462306c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions explorer/src/lib/components/world-map/WorldMap.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -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<any, import("d3").GeoPermissibleObjects>} */
/** @type {import("d3-geo").GeoPath<any, import("d3").GeoPermissibleObjects>} */
const path = geoPath(projection);
/** Function will return an empty array if an error is passed to it */
Expand Down

0 comments on commit 462306c

Please sign in to comment.