Skip to content

Commit afc9e1f

Browse files
committed
fix bug with typing for ts
1 parent 300e783 commit afc9e1f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export interface LinearComponentProps extends ChartComponentProps {
3333

3434
export default class ChartComponent<
3535
P extends ChartComponentProps
36-
> extends React.Component<P> {
36+
> extends React.Component<P, {}> {
3737
chart_instance: chartjs;
3838
}
3939

0 commit comments

Comments
 (0)