coreui/coreui-react-chartjs

Type all with "any" is not a correctly type definition

pablogm95 opened this issue · 1 comments

Type for example the datasets to any[] do not help to know the structure that must have. Instead that, you should extends from the @types/chart.js and type it as datasets?: ChartDataSets[]

Hello @pablogm95
Thanks for the heads-up!
PR welcome