Open saravanapriyanm opened 1 year ago
@saravanapriyanm see https://github.com/chartjs/chartjs-plugin-annotation/pull/877
This plugin must be changed as well
I get the same error too. Here's a temporary solution: in the tsconfig.json file set the "sikpLibCheck" under compilerOptions to true.
"compilerOptions": {
"skipLibCheck": true, // this must be true.
..
..
}
@stockiNail I don't remember what was the decision about this issue: is it fixed in the latest Chart.js version?
@simonbrunel The decision was to change types of Chart.js. PR https://github.com/chartjs/Chart.js/pull/11309
It was merged on main and tagged for version 4.3.1 (not released yet).
Chart.js 4.3.1 has been released right now https://github.com/chartjs/Chart.js/releases/tag/v4.3.1 with the fix for this issue
Importing in angular component throws the following error:
DEPENDENCIES: