Commit Graph

7 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
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 Hanson
354cec620d Move all packages to a types directory 2017-03-24 14:27:52 -07:00