-
Notifications
You must be signed in to change notification settings - Fork 355
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(types): Fix the signature of the tick format callback for timeseries
- Remove wrong number type from axis.x.tick.format - Specify Date type for axis.[y|y2].tick.format Close #2769
- Loading branch information
Showing
1 changed file
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This forces to specify a callback that supports both number and dates. This seems unexpected to me. Shouldn't it be a union type between 2 callback signatures instead if some configurations can have Date as y values ?