Skip to content

Commit f447a34

Browse files
author
Sébastiaan
authored
Fix compile errors when using multiple plugins (#877)
1 parent b01f3b2 commit f447a34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

types/index.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { AnnotationPluginOptions, BoxAnnotationOptions, EllipseAnnotationOptions
33

44
declare module 'chart.js' {
55
// eslint-disable-next-line @typescript-eslint/no-unused-vars
6-
interface PluginOptionsByType<TType extends ChartType> {
6+
interface PluginOptionsByType<TType extends ChartType = ChartType> {
77
annotation: AnnotationPluginOptions;
88
}
99

0 commit comments

Comments
 (0)