Files
turftracker/frontend/node_modules/@turf/concave/dist/js/lib/turf-dissolve.d.ts
2026-04-09 13:19:47 -05:00

16 lines
784 B
TypeScript
Executable File

import { Feature, FeatureCollection, LineString, MultiLineString, MultiPolygon, Polygon } from "@turf/helpers";
/**
* Transform function: attempts to dissolve geojson objects where possible
* [GeoJSON] -> GeoJSON geometry
*
* @private
* @param {FeatureCollection<LineString|MultiLineString|Polygon|MultiPolygon>} geojson Features to dissolved
* @param {Object} [options={}] Optional parameters
* @param {boolean} [options.mutate=false] Prevent input mutation
* @returns {Feature<MultiLineString|MultiPolygon>} Dissolved Features
*/
declare function dissolve(geojson: FeatureCollection<LineString | MultiLineString | Polygon | MultiPolygon>, options?: {
mutate?: boolean;
}): Feature<LineString | MultiLineString | Polygon | MultiPolygon> | null;
export default dissolve;