I have a problem with types when I use dc.js version 4.2.7. In order to solve it I installed what seems to be the default types module for dc.js with the following command:
Install command I used
npm i @types/dc
My code works correctly in javascript. However in typescript I either struggle with the types or when I use @types/dc it won't let me import the chart classes.
It seems to me that the types module is outdated because even though it doesn't lets me import the chart classes it does let me import the old function based API that dc.js used in older versions.
How can I solve this issue?