mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-23 12:56:46 +08:00
Chartist - add another possible series type to IChartistData (#22803)
* missing comment * missing comment * add iteratee property shorthand for uniq in underscore * undo bad commit * can also pass array of array of data to chartist
This commit is contained in:
committed by
Ryan Cavanaugh
parent
01d4dcdcd2
commit
5165332409
4
types/chartist/index.d.ts
vendored
4
types/chartist/index.d.ts
vendored
@@ -1,4 +1,4 @@
|
||||
// Type definitions for Chartist v0.9.8
|
||||
// Type definitions for Chartist v0.9.81
|
||||
// Project: https://github.com/gionkunz/chartist-js
|
||||
// Definitions by: Matt Gibbs <https://github.com/mtgibbs>, Simon Pfeifer <https://github.com/psimonski>, Cassey Lottman <https://github.com/clottman>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
@@ -78,7 +78,7 @@ declare namespace Chartist {
|
||||
// TODO: come in and tidy this up and make it fit better
|
||||
interface IChartistData {
|
||||
labels?: Array<string> | Array<number> | Array<Date>;
|
||||
series: Array<IChartistSeriesData> | Array<number> | Array<Array<number>>;
|
||||
series: Array<IChartistSeriesData> | Array<Array<IChartistData>> | Array<number> | Array<Array<number>>;
|
||||
}
|
||||
|
||||
interface IChartistSeriesData {
|
||||
|
||||
Reference in New Issue
Block a user