Merge pull request #26391 from sunnyrjuneja/master

Chartist: Relax constraints on meta.
This commit is contained in:
Mine Starks
2018-06-11 09:57:01 -07:00
committed by GitHub
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -247,7 +247,7 @@ new Chartist.Pie('.ct-chart', {
value: 70,
name: 'Series 3',
className: 'my-custom-class-three',
meta: 'Meta Three'
meta: { description: 'Meta Three' }
}]
});
+2 -2
View File
@@ -1,6 +1,6 @@
// 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>, Anastasiia Antonova <https://github.com/affilnost>
// Definitions by: Matt Gibbs <https://github.com/mtgibbs>, Simon Pfeifer <https://github.com/psimonski>, Cassey Lottman <https://github.com/clottman>, Anastasiia Antonova <https://github.com/affilnost>, Sunny Juneja <https://github.com/sunnyrjuneja>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
declare namespace Chartist {
@@ -101,7 +101,7 @@ declare namespace Chartist {
value?: number;
data?: Array<number>;
className?: string;
meta?: string; // I assume this could probably be a number as well?
meta?: any;
}
interface IChartistBase<T extends IChartOptions> {