I have an object type like this:
interface DataType { labels: string[]; datasets: { [key: string]: number[] }; }
And I am