File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 1
1
import { HTMLProps } from 'react'
2
+ import { ChartDataSets , ChartOptions } from 'chart.js'
2
3
3
4
interface Charts extends HTMLProps < any > {
4
5
innerRef ?: any
5
- datasets ?: Array < any >
6
+ datasets ?: ChartDataSets [ ]
6
7
labels ?: string | Array < any >
7
- options ?: any
8
+ options ?: ChartOptions
8
9
plugins ?: Array < any >
9
10
}
10
11
@@ -27,4 +28,4 @@ export declare const CChartLine: (props: CChartLine) => any
27
28
export declare const CChartDoughnut : ( props : CChartDoughnut ) => any
28
29
export declare const CChartRadar : ( props : CChartRadar ) => any
29
30
export declare const CChartPie : ( props : CChartPie ) => any
30
- export declare const CChartPolarArea : ( props : CChartPolarArea ) => any
31
+ export declare const CChartPolarArea : ( props : CChartPolarArea ) => any
You can’t perform that action at this time.
0 commit comments