DefinitelyTyped/turf
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
..
turf-tests.ts Add explicit string types to GeoJson definition (#9333) 2016-05-15 02:42:38 +09:00
turf.d.ts Update turf.d.ts (#9035) 2016-04-23 15:24:30 +09:00