13 lines
308 B
TypeScript
13 lines
308 B
TypeScript
|
|
/// <reference types="geojson" />
|
||
|
|
|
||
|
|
type Feature = GeoJSON.Feature<any>;
|
||
|
|
type Features = GeoJSON.FeatureCollection<any>;
|
||
|
|
type BBox = [number, number, number, number];
|
||
|
|
|
||
|
|
/**
|
||
|
|
* http://turfjs.org/docs/#bbox
|
||
|
|
*/
|
||
|
|
declare function bbox(features: Feature | Features): BBox;
|
||
|
|
declare namespace bbox { }
|
||
|
|
export = bbox;
|