UNPKG
@mapbox/geojson-types
Version:
latest (1.0.2)
1.0.2
1.0.1
1.0.0
Flow type declarations for [GeoJSON](https://tools.ietf.org/html/rfc7946).
@mapbox/geojson-types
/
fixtures
/
invalid
/
point-invalid-coordinates-1.js.flow
12 lines
(8 loc)
•
154 B
Flow
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
// @flow strict
import
type
{ GeoJSONGeometry } from
'../../index'
;
const
wrongType: GeoJSONGeometry = {
type
:
'Point'
, coordinates: [] };