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:
Andy 2022-02-05 11:51:01 -06:00 committed by GitHub
parent 2995775f68
commit aebbb5afff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2902,7 +2902,7 @@ export interface TickOptions {
* Color of tick
* @see Defaults.color
*/
color: Scriptable<Color, ScriptableScaleContext>;
color: ScriptableAndArray<Color, ScriptableScaleContext>;
/**
* see Fonts
*/