mirror of
https://github.com/chartjs/Chart.js.git
synced 2024-10-06 12:19:08 +02:00
fix: allow colors as array (#10075)
* fix: allow colors as array
* Revert "fix: allow colors as array"
This reverts commit 632e2ee917
.
* fix: allow colors as array
* Update types/index.esm.d.ts
Co-authored-by: Jacco van den Berg <39033624+LeeLenaleee@users.noreply.github.com>
Co-authored-by: Jacco van den Berg <39033624+LeeLenaleee@users.noreply.github.com>
This commit is contained in:
parent
2995775f68
commit
aebbb5afff
2
types/index.esm.d.ts
vendored
2
types/index.esm.d.ts
vendored
@ -2902,7 +2902,7 @@ export interface TickOptions {
|
||||
* Color of tick
|
||||
* @see Defaults.color
|
||||
*/
|
||||
color: Scriptable<Color, ScriptableScaleContext>;
|
||||
color: ScriptableAndArray<Color, ScriptableScaleContext>;
|
||||
/**
|
||||
* see Fonts
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user