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
..
chart.js-tests.ts chart.js: Update ChartData to accept both Arrays and ReadonlyArrays (#42023) 2020-02-03 09:03:32 -08:00
index.d.ts chart.js: Update ChartData to accept both Arrays and ReadonlyArrays (#42023) 2020-02-03 09:03:32 -08:00
package.json Add types of ChartPoint, ChartData. (#41710) 2020-01-21 09:43:21 -08:00
tsconfig.json
tslint.json