Chore: remove obsolete cast

This commit is contained in:
Pieter Vander Vennet 2025-02-07 22:48:02 +01:00
parent f405116bb1
commit 48a340de78

View file

@ -76,7 +76,7 @@ export class GeoOperations {
* @param feature
*/
static centerpoint(feature: Feature): Feature<Point> {
const newFeature: Feature<Point> = turf.center(<turf.Feature>feature)
const newFeature: Feature<Point> = turf.center(feature)
newFeature.properties = feature.properties
newFeature.id = feature.id
return newFeature