Chartjs-Avoiding explicit 'any' with Chart.js v3

0👍

You should cast it to the correct type in this case it’s the line dataset:

(cds as ChartDataset<"line">).borderDash = [10, 5];

Leave a comment