Files
DefinitelyTyped/types/chart.js
Steve Dignam dc72f7ed97 chart.js: Update ChartData to accept both Arrays and ReadonlyArrays (#42023)
By changing the types for `ChartData["labels"]` and `ChartData["datasets"]`
to ReadonlyArrays we can pass either ReadonlyArrays or Arrays as ChartData.

This is useful when chart.js is used inside a React component where the
props are readonly.
2020-02-03 09:03:32 -08:00
..