diff --git a/packages/turf-rewind/index.d.ts b/packages/turf-rewind/index.d.ts index d81fe8829a..4f7e72b60e 100644 --- a/packages/turf-rewind/index.d.ts +++ b/packages/turf-rewind/index.d.ts @@ -6,7 +6,7 @@ import { AllGeoJSON } from '@turf/helpers'; export default function rewind( geojson: T, options?: { - reversed?: boolean, + reverse?: boolean, mutate?: boolean } ): T; diff --git a/packages/turf-rewind/types.ts b/packages/turf-rewind/types.ts index 92ca655614..3386ea07cc 100644 --- a/packages/turf-rewind/types.ts +++ b/packages/turf-rewind/types.ts @@ -12,4 +12,4 @@ rewind(poly) rewind(multiPoly) rewind(multiLine) rewind(poly, {mutate: true}) -rewind(poly, {mutate: true, reversed: true}) +rewind(poly, {mutate: true, reverse: true})