I'm attempting to upgrade from chart.js 2.9.4 to chart.js 3.x to drop the massive moment.js dependency. My app is running angular 8.2.3 and typescript 3.5.3.
After installing chart.js@3.x I receive this error when importing the package:
node_modules/chart.js/types/utils.d.ts:13:49 - error TS2315: Type 'DeepPartial' is not generic.
13 type _DeepPartialObject<T> = { [P in keyof T]?: DeepPartial<T[P]> };
Is it possible to upgrade to chart.js@3.x with angular 8.2.3? Chart.js doesn't say anything about version 3 requiring a newer typescript version, and I'm unable to find any solutions out there.
Thanks for the help!