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
/
feature-invalid-type.js.flow
13 lines
(9 loc)
•
176 B
Flow
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
// @flow strict
import
type
{
GeoJSONFeature
}
from
'../../index'
;
const
wrongType
:
GeoJSONFeature
= {
type
:
'NotFeature'
,
geometry
:
null
,
properties
: {} };