index.d.ts 320 B

12345678910111213141516
  1. import {
  2. Feature,
  3. FeatureCollection,
  4. Polygon,
  5. MultiPolygon,
  6. } from "@turf/helpers";
  7. /**
  8. * http://turfjs.org/docs/#polygonSmooth
  9. */
  10. export default function <T extends Polygon | MultiPolygon>(
  11. polygon: FeatureCollection<T> | Feature<T> | T,
  12. options?: {
  13. iterations?: number;
  14. }
  15. ): FeatureCollection<T>;