mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-05 07:17:04 +00:00
Update index.d.ts
ChartColor should be of type String[] too
This commit is contained in:
committed by
GitHub
parent
232926fd1c
commit
4dfed498a1
Vendored
+5
-1
@@ -357,7 +357,7 @@ declare namespace Chart {
|
||||
max?: number;
|
||||
}
|
||||
|
||||
type ChartColor = string | CanvasGradient | CanvasPattern;
|
||||
type ChartColor = string | CanvasGradient | CanvasPattern | string[];
|
||||
|
||||
export interface ChartDataSets {
|
||||
backgroundColor?: ChartColor;
|
||||
@@ -383,6 +383,10 @@ declare namespace Chart {
|
||||
pointStyle?: string | string[] | HTMLImageElement | HTMLImageElement[];
|
||||
xAxisID?: string;
|
||||
yAxisID?: string;
|
||||
type?: string;
|
||||
hidden?: boolean;
|
||||
hideInLegendAndTooltip?: boolean;
|
||||
stack?: string;
|
||||
}
|
||||
|
||||
export interface ChartScales {
|
||||
|
||||
Reference in New Issue
Block a user