Home › Forums › Chart Support › Import issue: Module ‘”angular-charts”‘ has no exported member ‘CanvasJS’ › Reply To: Import issue: Module ‘”angular-charts”‘ has no exported member ‘CanvasJS’
@kkoroleva,
We don’t have CanvasJS Charts TypeScript definition as of now. However, charts seems to work fine with TypeScript as well. You can ignore the corresponding error by adding //@ts-ignore above the import statement as shown in the code-snippet below:
//@ts-ignore
//@ts-ignore import * as CanvasJS from '@canvasjs/charts';
— Ananya Deka Team CanvasJS