0👍
Basically to fix it you have to create a file named index.d.ts and add this:
declare module 'chartjs-plugin-crosshair';
Learn more about this solution here
- Chartjs-Angular 7 how to draw dynamic number of charts
- Chartjs-Vertical lines for custom events and notes
Source:stackexchange.com