Merge pull request #14349 from ulikoehler/ulikoehler-patch-1

chart.js: Allow string & Date for ChartPoint.x
This commit is contained in:
Arthur Ozga
2017-02-09 16:16:40 -08:00
committed by GitHub
+2 -2
View File
@@ -71,7 +71,7 @@ declare namespace Chart {
}
export interface ChartPoint {
x?: number;
x?: number | string | Date;
y?: number;
}
@@ -430,4 +430,4 @@ declare namespace Chart {
}
export = Chart;
export as namespace Chart;
export as namespace Chart;