Commit Graph

15 Commits

Author SHA1 Message Date
denisname
09c62bd089 Add deprecated ThresholdArrayGenerator (#29616)
Also improve permute typing and doing some spell checking.
2018-10-15 11:20:09 -07:00
denisname
8799abfabc d3-array: strict histogram proposition [BREAKING CHANGE] (#25450)
* Use $ExpectError
Rename some variables

* More typing

* More tests

And update d3-contour

* Add deprecated interface

* Update TypeScript minimal version

Oups :/

* d3-chord TS version update

* Linting errors.

* Strict function type for statistics functions

* Strict function type for histogram

* Update d3-contour

* Ts Lint

* Fix accessor type inference

* Arrays for accessors are ArrayLike, in stat fct
2018-10-08 08:35:40 -07:00
denis
f1be184576 Dependency chain 2018-09-17 21:38:27 +02: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
924fafffc0 Fix remaining lint errors (#19166) 2017-08-20 15:37:53 -07:00
Andy
5d6c651a1a Apply stricter lint rules (#19063) 2017-08-17 14:53:41 -07:00
Andrew Kirkegaard
2754522a15 Relax d3-array parameter definitions to ArrayLike (#18580)
* Relax parameter definitions for most d3-array functions from Array to ArrayLike (#18494)

* Add cases for TypedArrays and ArrayLike (as ReadonlyArray) to d3-array tests (#18494)

* Redefine d3-array shuffle so it fails when called with a ReadonlyArray (#18494)
2017-08-02 16:11:01 -07:00
Tom Wanzek
b6746d73a2 D3 Update to 4.8.0 (d3-array 1.2 [Feature/Fix] and d3-format 1.2 [Feature]) (#15904)
* Update d3-format to v1.2
* [Feature] Adds support for optional "percent" suffix in locale definition.
* Added tslint.json file

* [d3-array] Update to version 1.2
* [Feature]: Add `tickIncrement(...)`
* [Fix]: Fix incorrect  return type of tickStep(...). The correct return type is `number` instead of `number[]`
* [Chore]: Updated related comments

* [d3] Update minor version to 4.8

* Fix d3-format related linting errors.
2017-04-25 09:45:20 -07:00
Andy
e50f8878a5 Use new strict-export-declare-modifiers lint rule (#15844) 2017-04-14 08:20:12 -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