mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-12-20 17:30:14 +01:00
chore(package): add type definitions for jQuery and its plugins (#400)
This commit is contained in:
parent
1227ad368c
commit
02a1cdbe9e
4 changed files with 11 additions and 3 deletions
|
|
@ -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,
|
||||
|
|
|
|||
5
src/custom-typings.d.ts
vendored
5
src/custom-typings.d.ts
vendored
|
|
@ -32,7 +32,10 @@
|
|||
*
|
||||
*/
|
||||
|
||||
declare var jQuery:any;
|
||||
interface JQuery {
|
||||
easyPieChart;
|
||||
}
|
||||
|
||||
declare var GoogleMapsLoader:any;
|
||||
declare var L:any;
|
||||
declare var AmCharts:any;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue