From 331b3d216f5904615e1ea467842603c5d78fcf59 Mon Sep 17 00:00:00 2001 From: Steve Bennett Date: Sun, 24 Jun 2018 21:02:56 +1000 Subject: [PATCH] Correct the Typescript defs for turf.voronoi. Fixes #1422. --- packages/turf-voronoi/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/turf-voronoi/index.d.ts b/packages/turf-voronoi/index.d.ts index ed756838d2..f33c2b6b0f 100644 --- a/packages/turf-voronoi/index.d.ts +++ b/packages/turf-voronoi/index.d.ts @@ -5,5 +5,5 @@ import { FeatureCollection, BBox, Point, Polygon } from '@turf/helpers'; */ export default function voronoi( points: FeatureCollection, - bbox: BBox + options: {bbox: BBox} ): FeatureCollection;