score:0

Accepted answer

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;
}

}

score: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.


Related Query

More Query from same tag