11 Commits
Author SHA1 Message Date
psnider 29708b6a46 Geojson (#9702)
* Added Error to support stack

* initial seneca.d.ts

* Changed type of Position to be compatible with other packages

such as turf
2016-06-19 12:43:23 +09:00
Max Battcher ccf227b5a8 Add explicit string types to GeoJson definition (#9333)
* Add explicit string types to GeoJson definition

The type names for each interface are explicit in the GeoJson spec and this uses recent TypeScript support for string valued types to make this much more obvious and to check this for us.

* Add explicit type hints to turf tests

Shape-based inferencing in Typescript does not currently appear to support string literal types in TS 1.8.
2016-05-15 02:42:38 +09:00
Yukiya Nakagawa b9faee43fd fix test 2016-03-20 01:46:42 +09:00
Yukiya Nakagawa 1d3dd1edee Update GeoJSON definition with generics 2016-03-19 23:36:02 +09:00
vvakame 7de6c3dd94 Merge branch 'master' into rename-repo-url 2016-03-17 21:06:54 +09:00
vvakame 14fe4313f4 replace internal module to namespace 2016-03-17 02:18:10 +09:00
vvakame 56295f5058 replace https://github.com/borisyankov/DefinitelyTyped to https://github.com/DefinitelyTyped/DefinitelyTyped 2016-03-17 00:55:26 +09:00
Daniel Rosenwasser e55d1b91f9 Changed parameter type to allow 'GeoJSON.Feature' objects in 'polyline'. 2015-09-01 15:19:35 -07:00
Jake Bruun 63cd88fcf3 Fixed formatting 2014-05-13 23:20:07 -07:00
Jake Bruun 44c5608942 Fixed formatting 2014-05-13 23:18:57 -07:00
Jake Bruun d50b504e5e Create declaration file for GeoJSON spec. 2014-05-13 23:14:42 -07:00