Feature Proposal
The options.scales[x|y].grid.tickBorderDash is defined as type number[] but it should be defined as a Scriptable. I tested it and when a function is passed it also works.
Possible Implementation
|
tickBorderDash: number[]; |
change this line to
tickBorderDash: Scriptable<number[], ScriptableScaleContext>;.
I would be happy to create a pull request after I get approval that it is desired.