0👍
✅
Add a .d.ts file with declare module 'chart.js/auto/auto';
and then instead of importing from chart.js/auto
you import from 'chart.js/auto/auto';
Source:stackexchange.com