mirror of
https://github.com/grafana/grafana.git
synced 2025-01-10 08:03:58 -06:00
style(playlist): fixes some TS hint errors
This commit is contained in:
parent
62ae02bdd1
commit
10adc57b3f
@ -5,19 +5,14 @@ import coreModule from '../../core/core_module';
|
||||
import kbn from 'app/core/utils/kbn';
|
||||
|
||||
class PlaylistSrv {
|
||||
private cancelPromise: any
|
||||
private dashboards: any
|
||||
private index: number
|
||||
private interval: any
|
||||
private playlistId: number
|
||||
private cancelPromise: any;
|
||||
private dashboards: any;
|
||||
private index: number;
|
||||
private interval: any;
|
||||
private playlistId: number;
|
||||
|
||||
/** @ngInject */
|
||||
constructor(
|
||||
private $rootScope:any,
|
||||
private $location:any,
|
||||
private $timeout:any,
|
||||
private backendSrv:any) {
|
||||
}
|
||||
constructor(private $rootScope:any, private $location:any, private $timeout:any, private backendSrv:any) { }
|
||||
|
||||
next() {
|
||||
this.$timeout.cancel(this.cancelPromise);
|
||||
@ -74,4 +69,4 @@ class PlaylistSrv {
|
||||
}
|
||||
}
|
||||
|
||||
coreModule.service('playlistSrv', PlaylistSrv)
|
||||
coreModule.service('playlistSrv', PlaylistSrv);
|
||||
|
Loading…
Reference in New Issue
Block a user