mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-24 05:06:02 +08:00
* (d3-geo): Update to 1.3.1 and JSDoc * [Chore] Updated definitions to conform to version 1.3.1 * [Feature] Added `geoIdentity()` and removed `geoClipExtent()` * [Feature ] Added geoGraticule10() * [Update] Changed API for `geoPath(...)` * [Enhancement] Complete overhaul of JSDoc comments * [Chore] Some changes to sequencing of definitions * [Fix]: Fixed GeoPath pointRadius() Accessor (getter may return constant number or accessor function. * [Fix] GeoPath generator may return string (SVG path string) or undefined (when called with rendering context) * * (d3-geo) Test Updates * Add test for `geoGraticule10()` * Remove tests for `geoClipExtent()` * Add tests for `geoIdentity()` * Fixed clipExtent tests to include explicit union with `null` type for return value of getter * Fixed pointRadius getter test on geoPath to allow for accessor or number to be returned by getter * (d3-geo) Tests Additional * Add some more tests for new geoPath(...) API