I've encountered an issue with types while working with dc.js version 4.2.7. To address this, I went ahead and installed what I believe to be the standard types module for dc.js using the following command:
Command I used for Installation
npm i @types/dc
While my JavaScript code functions correctly, I'm facing challenges with types in TypeScript. Even after using @types/dc
, I'm unable to import the chart classes.
It appears that the types module is outdated as it allows me to import the old function-based API used in previous versions of dc.js, but not the chart classes.
Any suggestions on how to resolve this issue?