@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
import * as CanvasJS from '@canvasjs/charts';
—
Ananya Deka
Team CanvasJS