From 7223c696a1315bd515ba464a0f65e878d9e7af1b Mon Sep 17 00:00:00 2001 From: Matthieu Viry Date: Wed, 6 Nov 2024 11:04:04 +0100 Subject: [PATCH] Fix some typing stuff --- src/components/PortrayalOption/GriddingSettings.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/PortrayalOption/GriddingSettings.tsx b/src/components/PortrayalOption/GriddingSettings.tsx index fae8f661..def8b941 100644 --- a/src/components/PortrayalOption/GriddingSettings.tsx +++ b/src/components/PortrayalOption/GriddingSettings.tsx @@ -51,11 +51,11 @@ import type { PortrayalSettingsProps } from './common'; import { type ChoroplethLegend, type ClassificationParameters, - GeoJSONFeatureCollection, + type GeoJSONFeatureCollection, GridCellShape, type GriddedLayerParameters, type GridParameters, - LayerDescription, + type LayerDescription, type LegendTextElement, LegendType, Orientation, @@ -206,7 +206,7 @@ export default function GriddingSettings(props: PortrayalSettingsProps): JSX.Ele .find((l) => l.id === props.layerId)!; // eslint-disable-line solid/reactivity // The bbox of the layer - const bboxLayer = bbox(layerDescription.data); + const bboxLayer = bbox(layerDescription.data as any); // The fields of interest on the selected layer const targetFields = layerDescription