Skip to content

Commit 2a5bc7c

Browse files
Luke Andrewsjerairrest
authored andcommitted
Set the global defaults type to match what is specified in chart.js, rather than an empty object (#398)
1 parent 26b4d9d commit 2a5bc7c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

index.d.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,4 +57,7 @@ export class Polar extends ChartComponent<ChartComponentProps> {}
5757

5858
export class Bubble extends ChartComponent<ChartComponentProps> {}
5959

60-
export var defaults: {};
60+
export var defaults: {
61+
global: chartjs.ChartOptions & chartjs.ChartFontOptions;
62+
[key: string]: any;
63+
};

0 commit comments

Comments
 (0)