Commit Graph
17 Commits
Author SHA1 Message Date
Andy Hanson 21065fcb6b Enable "esModuleInterop" in all tsconfigs 2018-02-05 09:49:31 -08:00
Andy 219dd6df82 Fix 'prefer-readonly' lint failures (#22819) 2018-01-10 14:59:37 -08:00
Tom Wanzek e9430decb9 [d3-geo] URGENT PATCH (Broken Definition) geojson dependency to 1.0.6 (#21808)
* Pin `geojson` dependency to 1.0.6
* The latest version of the `geojson` definitions breaks  **d3-geo**. Pin to the last working version for now until more thorough change impact assessment is complete.

* Add `private: true` to package.json

* Remove `package.json` stub. Replace `CoordinateReferenceSystem` with literal.
2017-11-28 13:21:27 -05:00
Arne Schubert 216ea719fa GeoJSON: Enhance with generic properties (#20932)
* Make properties optional generic

* Write tests for generic usage of gGeoJSON feature properties

* Apply layout like recommend in the tslint default rule-set.

* double quotes
* 4 spaces indent (no tabs!)

* Remove jsdoc typings and force typescript version 2.3 for sub type-definitions of geojson

* apply change of andy-ms in PR #20933

* remove empty comments and set typescript version to 2.3 to fix linting errors

* Add myself to the list of authors

* Set TypeScript version to 2.3 for packages depending on geojson
2017-11-01 08:40:26 -07:00
Andy 9a1c802a89 d3-*: Fix lint (#20837)
* d3-*: Fix lint

* Add more @param comments
2017-10-23 07:50:05 -07:00
lucideer dd06dd6ece [geojson] Allow numeric ID on GeoJSON Feature (#20320)
* Allow numeric ID on GeoJSON Feature

* Allowing numeric ID on GeoJSON features in d3-geo (after CI failure from changes to geojson typings)
2017-10-11 16:18:18 -07:00
Hugues Stefanski 66e778fe30 Updated d3-geo to reflect version 1.9.0: added fitWidth and fitHeight… (#20388)
* Updated d3-geo to reflect version 1.9.0: added fitWidth and fitHeight methods

* Fix asterisk position

* Missing space

* Added spacing between methods

* Added tests for d3-geo `fitHeight` and `fitWidth`
2017-10-09 14:39:09 -07:00
Andy 947a8fb761 Enable strictFunctionTypes (#20373) 2017-10-06 14:03:03 -07:00
Tom Wanzek 5071fcdcdd [d3-geo] Update Definitions to Minor Version 1.8.x (#20270)
* d3-geo
* [FEATURE] Add definitions for per/post-clipping and clipping functions
* [CHORE] Bump version number

* d3-geo
* Added tests for pre/post-clipping and clipping functions

* d3-geo
*[CHORE] Linting fixes.

* d3-geo
* [DOC] Improved wording of clipping function (generator) JSDoc comments
2017-10-04 13:58:26 -07:00
Hugues Stefanski 20c13f62e1 Update d3-geo to version 1.7.1
Includes geoNaturalEarth1 and geoNaturalEarth1Raw
2017-09-16 15:54:53 +02:00
Andy d74806eb3d Add lint disables for no-unnecessary-generics (#19508) 2017-09-01 08:34:37 -07:00
Andy 1b54a38a43 Fix remaining lint errors (#19219) 2017-08-21 14:14:31 -07:00
Andy 924fafffc0 Fix remaining lint errors (#19166) 2017-08-20 15:37:53 -07:00
Tom Wanzek 9f5858caef [d3-geo/d3-contour] Chores (#16324)
* [d3-contour] [Chore] Add contributor

* [d3-geo] Chore and Preparation for strictNullChecks
* [Chore] Change geoJSON to module import
* [Chore] Update return type signatures for `geoPath(...)` invocation. For the time being split the signatures for rendering to svg vs canvas. The return type for rendering is changed to `string | null`. This change corresponds to the comitted PR 98 in the d3-geo repo. The behavior and the definitions are now harmonized with d3-shape generators like `arc(...)`.

* [d3-contour] Update test to reflect `geoPath` change.
2017-05-04 12:58:02 -07:00
Andy bbc61fbf93 Extend "dtslint/dt.json" directly instead of "../tslint.json". (#15822)
* Extend "dtslint/dt.json" directly instead of "../tslint.json".

* Convert more "../tslint.json" to "dtslint/dt.json"

* no-redundant-modifiers -> strict-export-declare-modifiers
2017-04-14 08:04:05 -07:00
Andy 6a285d2dcf Lint d3-* packages (#15523) 2017-03-30 14:12:02 -07:00
Andy Hanson 354cec620d Move all packages to a types directory 2017-03-24 14:27:52 -07:00