Typescript 5 compatibility #12141
Unanswered
Joeldatatrion
asked this question in
Q&A
Replies: 1 comment
|
Chart.js is fully compatible with TypeScript 5! The In practice:
If you see warnings: If npm shows a peer dependency warning, you can safely ignore it or use: npm install chart.js --legacy-peer-depsOr update the types: npm install @types/chart.js@latestCurrent status:
You can safely use Chart.js with TypeScript 5 without any issues. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi! Is this only compatible with Typescript 4? (and why?)
The latest chartjs 4.5.1. has typescript "^4.7.4","
All reactions