Home Forums Chart Support ReactJSCharts + Typescript Reply To: ReactJSCharts + Typescript

#43734

@gojukeboxgmail-com,

We don’t have CanvasJS React Charts TypeScript definition as of now. However, charts seems to work fine with React TypeScript as-well. You can ignore the corresponding error in Stackblitz by adding // @ts-ignore above the import statement as shown in the code-snippet below.

// @ts-ignore
import CanvasJSReact from '@canvasjs/react-charts';

__
Sachin Bisht
Team CanvasJS