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 22:59:18 +02:00 committed by Andy
parent bc1da27217
commit 162d8bb776

1
chart.js/index.d.ts vendored
View File

@ -392,6 +392,7 @@ interface RadialLinearScale {
}
declare class Chart {
static defaults: any;
constructor (context: CanvasRenderingContext2D | HTMLCanvasElement, options: ChartConfiguration);
config: ChartConfiguration;
data: ChartData;