mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
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:
parent
bc1da27217
commit
162d8bb776
1
chart.js/index.d.ts
vendored
1
chart.js/index.d.ts
vendored
@ -392,6 +392,7 @@ interface RadialLinearScale {
|
||||
}
|
||||
|
||||
declare class Chart {
|
||||
static defaults: any;
|
||||
constructor (context: CanvasRenderingContext2D | HTMLCanvasElement, options: ChartConfiguration);
|
||||
config: ChartConfiguration;
|
||||
data: ChartData;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user