File tree Expand file tree Collapse file tree 3 files changed +2
-4
lines changed Expand file tree Collapse file tree 3 files changed +2
-4
lines changed Original file line number Diff line number Diff line change 2
2
* Module geojson implements types and functions for working with GeoJSON.
3
3
* @module geojson
4
4
*/
5
- export * as geojson from 'geojson'
6
-
7
5
export { Encodable , Decodable } from './geometry'
8
6
export { toGeoJSON , fromGeoJSON } from './geometry'
9
7
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ import { Loop } from '../s2/Loop'
9
9
export const marshal = ( loop : Loop , ordinal : number ) : geojson . Position [ ] => {
10
10
const ring = loop . vertices . map ( position . marshal )
11
11
if ( ordinal > 0 ) ring . reverse ( ) // outer ring remains CCW, inner rings become CW
12
- ring . push ( ring . at ( 0 ) ! ) // add matching start/end points
12
+ ring . push ( ring [ 0 ] ) // add matching start/end points
13
13
return ring
14
14
}
15
15
Original file line number Diff line number Diff line change 5
5
"theme" : " default" ,
6
6
"readme" : " README.md" ,
7
7
"hideGenerator" : true ,
8
- "entryPoints" : [" index.ts" ]
8
+ "entryPoints" : [" index.ts" , " node_modules/@types/geojson/index.d.ts " ]
9
9
}
You can’t perform that action at this time.
0 commit comments