Skip to content

Commit

Permalink
explicit type on ngZones json const
Browse files Browse the repository at this point in the history
  • Loading branch information
braddf committed Dec 19, 2024
1 parent 6731621 commit 42caeb0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion apps/nowcasting-app/components/helpers/data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -240,8 +240,9 @@ export const generateGeoJsonForecastData: (
);
} else if (aggregation === NationalAggregation.zone) {
console.log("aggregating to zone");
const ngZonesJson = ngZones as FeatureCollection;
features = mapZoneFeatures(
ngZones.features as Feature<Geometry, GeoJsonProperties>[],
ngZonesJson.features as Feature<Geometry, GeoJsonProperties>[],
ngGSPZoneGroupings,
combinedData,
gspForecastsDataByTimestamp,
Expand Down

0 comments on commit 42caeb0

Please sign in to comment.