Skip to content

Commit

Permalink
move scriptable or array to helper function (#10078)
Browse files Browse the repository at this point in the history
  • Loading branch information
LeeLenaleee committed Jan 16, 2022
1 parent 4d918f5 commit ec67123
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions types/index.esm.d.ts
Expand Up @@ -2819,7 +2819,7 @@ export interface GridLineOptions {
/**
* @default 'rgba(0, 0, 0, 0.1)'
*/
color: Scriptable<Color, ScriptableScaleContext> | readonly Color[];
color: ScriptableAndArray<Color, ScriptableScaleContext>;
/**
* @default []
*/
Expand All @@ -2831,7 +2831,7 @@ export interface GridLineOptions {
/**
* @default 1
*/
lineWidth: Scriptable<number, ScriptableScaleContext> | readonly number[];
lineWidth: ScriptableAndArray<number, ScriptableScaleContext>;

/**
* @default true
Expand All @@ -2856,7 +2856,7 @@ export interface GridLineOptions {
/**
* @default 'rgba(0, 0, 0, 0.1)'
*/
tickColor: Scriptable<Color, ScriptableScaleContext> | readonly Color[];
tickColor: ScriptableAndArray<Color, ScriptableScaleContext>;
/**
* @default 10
*/
Expand Down

0 comments on commit ec67123

Please sign in to comment.