@types/mapbox__geojson-extent
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

Installation

npm install --save @types/mapbox__geojson-extent

Summary

This package contains type definitions for @mapbox/geojson-extent (https://github.com/mapbox/geojson-extent#readme).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/mapbox__geojson-extent.

index.d.ts

import { BBox, GeoJSON, Polygon } from "geojson";

export = bbox;
export as namespace bbox;
declare function bbox(geoJson: GeoJSON): BBox;

declare namespace bbox {
    function polygon(geoJson: GeoJSON): Polygon | null;
    function bboxify(geoJson: GeoJSON): GeoJSON;
}

Additional Details

  • Last updated: Tue, 07 Nov 2023 09:09:39 GMT
  • Dependencies: @types/geojson

Credits

These definitions were written by Aleš Jiránek.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/mapbox__geojson-extent

Weekly Downloads

11,803

Version

1.0.3

License

MIT

Unpacked Size

3.29 kB

Total Files

5

Last publish

Collaborators

  • types