Code for Chartjs Typescript definition file

0👍

Well this appears to be working for the moment.

declare module cjs {
interface IChart {
    new (context:any):ChartObject;
}
interface ChartObject {
    Line(data:any, options?:any): void;
}

}

👍:0

Sorry, the chartjs folder does not contain this chartjs definition. I’ve reported (https://github.com/borisyankov/DefinitelyTyped/issues/2830) and will delete it shortly.

Leave a comment