From: Mostafa Sameti Date: Sat, 28 Nov 2020 20:06:38 +0000 (+0330) Subject: fix color type & add background and border color (#8110) X-Git-Tag: v3.0.0-beta.7~12 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f0148738644244fccd362abd2492a2244e8b2d08;p=thirdparty%2FChart.js.git fix color type & add background and border color (#8110) --- diff --git a/types/core/interfaces.d.ts b/types/core/interfaces.d.ts index 331c2ced6..ab82d4e11 100644 --- a/types/core/interfaces.d.ts +++ b/types/core/interfaces.d.ts @@ -99,7 +99,17 @@ export interface CoreChartOptions extends ParsingOptions { * base color * @see Defaults.color */ - color: string; + color: Color; + /** + * base background color + * @see Defaults.backgroundColor + */ + backgroundColor: Color; + /** + * base border color + * @see Defaults.borderColor + */ + borderColor: Color; /** * base font * @see Defaults.font