Commit Graph
9 Commits
Author SHA1 Message Date
denis 09c94e3e87 Spelling correction 2018-05-14 19:09:20 +02:00
Tom Wanzek 23798c59ad refactor(d3-collection): refine and reduce technical debt (mulligan) (#23724)
* chore(d3-collection): validate for strictNullChecks

* feat(d3-collection) minimum TS 2.3 for object type

BREAKING CHANGE:

Impose minimum of TypeScript 2.3 to be able to use `object` type
and generic defaults. (Possibly also use `keyof`).
Replace `any` with `object` where it is too wide.
Add `ArrayLike` to some signatures.
Update tests.

* feat(d3-collection) use generic defaults

Use generic defaults and remove some outdated comments.

* doc(d3-collection): complete JSDoc comments

Completes JSDoc comments.
Removes a superfluous signature for `keys`.
2018-02-26 10:30:06 -08:00
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
Andy 947a8fb761 Enable strictFunctionTypes (#20373) 2017-10-06 14:03:03 -07:00
Andy d74806eb3d Add lint disables for no-unnecessary-generics (#19508) 2017-09-01 08:34:37 -07:00
Andy 5d6c651a1a Apply stricter lint rules (#19063) 2017-08-17 14:53:41 -07:00
Tom Wanzek 8ae97451d5 D3 Modules Linting (#16536)
* [d3-collection] Linted
* Added and completed linting
* Replaced `Object` with `any` adding TODO to change to proper `object` type when publishing the definitions to use TS 2.2+

* [d3-color] Linted

* [d3-dispatch] Linted

* [d3-hsv]  Linted

* [d3-interpolate] Linted. `Object` to `any`
* Replace use of `Object` as extension basis with `any` for now. Added TODO to change it to use the `object` type, when updating the definitions to formally use TS2.2+

* [d3-path] Linted.

* [d3-polygon] Linted.

* [d3-quadtree] Linted.

* [d3-queue] Linted.

* [d3-request] Linted.

* [d3-scale-chromatic] Linted.

* [d3-time-format] Linted.

* [d3-time] Linted.

* [d3-timer] Linted.

* [d3-voronoi] Linted.

* [d3-scale] Move callable-type lint deactivation to tslint.json
* line level deactivation was ignored.
2017-05-19 07:13:46 -07:00
Andy Hanson 354cec620d Move all packages to a types directory 2017-03-24 14:27:52 -07:00