Change to IChartistData interface in Chartist

This commit is contained in:
Forrest Peterson
2016-01-19 13:16:43 -05:00
parent 059319a033
commit 7edc447a5f
+1 -1
View File
@@ -74,7 +74,7 @@ declare module Chartist {
// this definition gives some intellisense, but does not protect the user from misuse
// TODO: come in and tidy this up and make it fit better
interface IChartistData {
labels?: Array<string> | Array<number>;
labels?: Array<string> | Array<number> | Array<Date>;
series: Array<IChartistSeriesData> | Array<number> | Array<Array<number>>;
}