DefinitelyTyped/d3-axis/tslint.json
Tom Wanzek af02184d59 d3-axis strictNullChecks, Fix, Enhancement:
* [Enhancement] Validated, updated and activated for use with `strictNullChecks`. Tests updated
* [Fix] Commented out tick and tickFormat  signatures which have been separated out in to the overloads corresponding to a numeric continuous scale vs a time scale. Consolidated as well as separated out signatures for these two optional methods create compiler errors, the compiler ignores the optionality of each individual overload when checking type compatibility during assingment (Note, they are not mandatory for each specific scale,  but when in existence will be used by d3-axis internally. So commenting out is not ideal, but rather a compromise.)
* [Chore] Added additional test lines for th AxisScale interface when used with Band- and Point Scales
* [Enhancement] Expanded the Axis.tickFormat signature to allow for the second argument passed to the format function internally, i.e. the zero-based index  of the tick label in the array of tick labels (As per suggested use case provided by@gustavderdrache). Updated tests.
* [Chore] Updated  definition header
* [Chore] Linting. Includes adding of a lint rule de-activation for "unified-signatures"
2016-12-13 11:11:05 -05:00

7 lines
94 B
JSON

{
"extends": "../tslint.json",
"rules": {
"unified-signatures": false
}
}