We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b01f3b2 commit f447a34Copy full SHA for f447a34
types/index.d.ts
@@ -3,7 +3,7 @@ import { AnnotationPluginOptions, BoxAnnotationOptions, EllipseAnnotationOptions
3
4
declare module 'chart.js' {
5
// eslint-disable-next-line @typescript-eslint/no-unused-vars
6
- interface PluginOptionsByType<TType extends ChartType> {
+ interface PluginOptionsByType<TType extends ChartType = ChartType> {
7
annotation: AnnotationPluginOptions;
8
}
9
0 commit comments