sgratzl / chartjs-chart-boxplot

Chart.js Box Plots and Violin Plot Charts
https://www.sgratzl.com/chartjs-chart-boxplot/
MIT License
107 stars 24 forks source link

Type '"metaExtensions"' cannot be used to index type 'ChartTypeRegistry[key]'. #11

Closed TearsDemon closed 3 years ago

TearsDemon commented 3 years ago

node_modules/chart.js/types/index.esm.d.ts:452:25 - error TS2536: Type '"metaExtensions"' cannot be used to index type 'ChartTypeRegistry[key]'.

As I can see, you should update ChartTypeRegistry and add metaExtensions property (src/controllers/BoxPlotController.ts)

sgratzl commented 3 years ago

should be fixed with https://github.com/sgratzl/chartjs-chart-boxplot/releases/tag/v3.5.0