Commit Graph

23 Commits

Author SHA1 Message Date
Mohamed Hegazy
1c60d94f29 Merge pull request #9059 from gcroteau/master
Changed "declare namespace turf" to "declare module turf"
2016-06-26 15:10:44 -07: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
Riccardo Volonterio
c8714d2d2b Update turf.d.ts (#9035)
Exported as module, so can be used like a module.
2016-04-23 15:24:30 +09:00
gcroteau
2fa4349bcc Changed declare namespace turf to declare module turf 2016-04-20 16:11:22 -04:00
Yukiya Nakagawa
25a296c2e9 Add type definitions for turf 2016-03-20 01:08:31 +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
gcroteau
8888d55a20 Renamed turf/turf-test.ts to turf/turf-tests.ts 2015-12-01 10:04:25 -05:00
gcroteau
25f513d3bf Cleaned up the definition file. 2015-11-30 10:17:44 -05:00
gcroteau
36b68a0023 Added Aggregation definitions to turf.d.ts. 2015-11-26 23:28:51 -05:00
gcroteau
77365e3b15 Added Classification definitions to turf.d.ts. 2015-11-25 20:11:13 -05:00
gcroteau
1c55a61177 Added Joins definitions to turf.d.ts. 2015-11-25 19:56:27 -05:00
gcroteau
ab3aa41ff7 Added Interpolation definitions to turf.d.ts. 2015-11-25 19:47:29 -05:00
gcroteau
9ce1cff36f Completed Data definitions. 2015-11-25 17:08:37 -05:00
gcroteau
b5b7ec2ce0 Added filter definition. 2015-11-24 23:44:45 -05:00
gcroteau
4d5969f17c Completed the Helper definitions. 2015-11-24 22:47:30 -05:00
gcroteau
bd95f700d1 Completed the Misc definitions. 2015-11-24 21:57:25 -05:00
gcroteau
bbc2af3a3f Completed the Transformation definitions. 2015-11-24 20:22:20 -05:00
gcroteau
848b9d8467 Completed the Measurement definitions. 2015-11-24 19:52:59 -05:00
gcroteau
9488d2229f Added along and area definition. Added related tests. 2015-11-24 16:53:35 -05:00
gcroteau
8ccfe0dd01 Added definition for distance and pointOnLine. Added related tests. 2015-11-24 14:54:21 -05:00
gcroteau
97d7377cf8 Initial commit. Created turf.d.ts and turf-test.ts files. 2015-11-23 22:57:19 -05:00