Skip to content

Commit ec67123

Browse files
authored
move scriptable or array to helper function (#10078)
1 parent 4d918f5 commit ec67123

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

types/index.esm.d.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2819,7 +2819,7 @@ export interface GridLineOptions {
28192819
/**
28202820
* @default 'rgba(0, 0, 0, 0.1)'
28212821
*/
2822-
color: Scriptable<Color, ScriptableScaleContext> | readonly Color[];
2822+
color: ScriptableAndArray<Color, ScriptableScaleContext>;
28232823
/**
28242824
* @default []
28252825
*/
@@ -2831,7 +2831,7 @@ export interface GridLineOptions {
28312831
/**
28322832
* @default 1
28332833
*/
2834-
lineWidth: Scriptable<number, ScriptableScaleContext> | readonly number[];
2834+
lineWidth: ScriptableAndArray<number, ScriptableScaleContext>;
28352835

28362836
/**
28372837
* @default true
@@ -2856,7 +2856,7 @@ export interface GridLineOptions {
28562856
/**
28572857
* @default 'rgba(0, 0, 0, 0.1)'
28582858
*/
2859-
tickColor: Scriptable<Color, ScriptableScaleContext> | readonly Color[];
2859+
tickColor: ScriptableAndArray<Color, ScriptableScaleContext>;
28602860
/**
28612861
* @default 10
28622862
*/

0 commit comments

Comments
 (0)