Commit Graph
12 Commits
Author SHA1 Message Date
Andy Hanson 45c9246c09 Remove esModuleInterop from tsconfigs (no longer mandatory) 2018-02-14 14:55:13 -08:00
Andy bef4d2b27d Enable "esModuleInterop" in all tsconfigs (#23354) 2018-02-05 11:01:56 -08:00
Rhys van der Waerden 3a88a0abc4 heatmap.js: Remove Point type
Inline type that is used in only one place.
2017-11-20 22:15:10 +11:00
Rhys van der Waerden f07f6a8da9 heatmap.js: JSDoc
Convert comments to JSDoc and add code examples.
Remove "NOTE" on `getValueAt` which is redundant due to types.
2017-11-19 13:05:48 +11:00
Rhys van der Waerden 0e6cdf8acd heatmap.js: Remove tests for required fields
These tests are not needed.
2017-11-18 16:17:22 +11:00
Rhys van der Waerden 86ba50fb2f heatmap.js: declare const container in tests
More idiomatic and avoids a tslint disable comment.
2017-11-18 16:15:38 +11:00
Rhys van der Waerden 5d2c78fa13 Add core types for heatmap.js
Previous implementation only covered undocumented Leaflet.js extension. This commit adds in types for documented API.

- Conform to standard DefinitelyTyped linter
- Enable `strictNullChecks`
- Add types for Heatmap.js API
- Update Leaflet types so that `latField` and `lngField` are strictly enforced by type system.

Closes #13999
2017-11-17 21:43:07 +11:00
Andy 954ee278de Update TypeScript Versions to be at least as high as dependencies' versions (#21288)
* Update `TypeScript Version`s to be at least as high as dependencies' versions

* Run through again
2017-11-08 09:12:14 -08:00
Andy 19f89399e4 Ensure every package has a tslint.json (#21009)
* Ensure every package has a tslint.json

* Fixes
2017-10-25 11:13:50 -07:00
Andy 947a8fb761 Enable strictFunctionTypes (#20373) 2017-10-06 14:03:03 -07:00
Andy 91d6ad83b7 Remove package.json dependencies on @types/leaflet, and use a path mapping or latest instead (#15464)
* Remove package.json dependencies on @types/leaflet, and use a path mapping or latest instead

* Use consistent import name
2017-03-29 10:16:25 -07:00
Andy Hanson 354cec620d Move all packages to a types directory 2017-03-24 14:27:52 -07:00