diff --git a/src/components/WorldMap.tsx b/src/components/WorldMap.tsx index 9dbf6de80..a12eeddd5 100644 --- a/src/components/WorldMap.tsx +++ b/src/components/WorldMap.tsx @@ -237,7 +237,7 @@ function drawInteractiveCountries( return svg; } -type WorldJsonCountryData = { properties: { name: string; a3: string } }; +type WorldJsonCountryData = d3.ExtendedFeature; function parseWorldTopoJsonToGeoJsonFeatures(): Array { const collection = topojson.feature(