wrongmove/immoweb/node_modules/@turf/invariant/index.d.ts
2025-05-26 19:41:36 +00:00

30 lines
712 B
TypeScript

/// <reference types="geojson" />
type Feature = GeoJSON.Feature<any>
type Features = GeoJSON.FeatureCollection<any>
type GetCoord = Feature | any[] | GeoJSON.GeometryObject
/**
* http://turfjs.org/docs/
*/
export function getCoord(obj: GetCoord): Array<any>;
/**
* http://turfjs.org/docs/
*/
export function getCoords(obj: GetCoord): Array<any>;
/**
* http://turfjs.org/docs/
*/
export function geojsonType(value: Features, type: string, name: string): void;
/**
* http://turfjs.org/docs/
*/
export function featureOf(feature: Feature, type: string, name: string): void
/**
* http://turfjs.org/docs/
*/
export function collectionOf(featurecollection: Features, type: string, name: string): void