diff --git a/packages/turf-convex/index.ts b/packages/turf-convex/index.ts index d7969ec59..9a59a9893 100644 --- a/packages/turf-convex/index.ts +++ b/packages/turf-convex/index.ts @@ -56,7 +56,7 @@ function convex
( // Convex hull should have at least 3 different vertices in order to create a valid polygon if (convexHull.length > 3) { - return polygon([convexHull]); + return polygon
([convexHull], options.properties); } return null; }