From: Jacco van den Berg <39033624+LeeLenaleee@users.noreply.github.com> Date: Sun, 16 Jan 2022 22:06:56 +0000 (+0100) Subject: move scriptable or array to helper function (#10078) X-Git-Tag: v3.7.1~12 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ec67123df890a8eaa18c5b60f980a94644988536;p=thirdparty%2FChart.js.git move scriptable or array to helper function (#10078) --- diff --git a/types/index.esm.d.ts b/types/index.esm.d.ts index 0b049117c..aa5821c49 100644 --- a/types/index.esm.d.ts +++ b/types/index.esm.d.ts @@ -2819,7 +2819,7 @@ export interface GridLineOptions { /** * @default 'rgba(0, 0, 0, 0.1)' */ - color: Scriptable | readonly Color[]; + color: ScriptableAndArray; /** * @default [] */ @@ -2831,7 +2831,7 @@ export interface GridLineOptions { /** * @default 1 */ - lineWidth: Scriptable | readonly number[]; + lineWidth: ScriptableAndArray; /** * @default true @@ -2856,7 +2856,7 @@ export interface GridLineOptions { /** * @default 'rgba(0, 0, 0, 0.1)' */ - tickColor: Scriptable | readonly Color[]; + tickColor: ScriptableAndArray; /** * @default 10 */