chore(package): add type definitions for jQuery and its plugins (#400)

This commit is contained in:
AlbertXingZhang 2016-12-20 00:41:52 -08:00 committed by Dmitry Nehaychik
parent 1227ad368c
commit 02a1cdbe9e
4 changed files with 11 additions and 3 deletions

View file

@ -24,7 +24,7 @@ export class TrafficChart {
}
private _loadDoughnutCharts() {
let el = jQuery('.chart-area').get(0);
let el = jQuery('.chart-area').get(0) as HTMLCanvasElement;
new Chart(el.getContext('2d')).Doughnut(this.doughnutData, {
segmentShowStroke: false,
percentageInnerCutout : 64,