Update index.ts (#13539)

Adding this fild will solve the problem of module build failed: Error:  Property 'defaults' does not exist on type 'typeof Chart'. And You can use this Chart.defaults.global in ts
This commit is contained in:
oosoloviov
2017-01-04 12:59:18 -08:00
committed by Andy
parent bc1da27217
commit 162d8bb776
+1
View File
@@ -392,6 +392,7 @@ interface RadialLinearScale {
}
declare class Chart {
static defaults: any;
constructor (context: CanvasRenderingContext2D | HTMLCanvasElement, options: ChartConfiguration);
config: ChartConfiguration;
data: ChartData;