Commit 10adc57b by bergquist

style(playlist): fixes some TS hint errors

parent 62ae02bd
...@@ -5,19 +5,14 @@ import coreModule from '../../core/core_module'; ...@@ -5,19 +5,14 @@ import coreModule from '../../core/core_module';
import kbn from 'app/core/utils/kbn'; import kbn from 'app/core/utils/kbn';
class PlaylistSrv { class PlaylistSrv {
private cancelPromise: any private cancelPromise: any;
private dashboards: any private dashboards: any;
private index: number private index: number;
private interval: any private interval: any;
private playlistId: number private playlistId: number;
/** @ngInject */ /** @ngInject */
constructor( constructor(private $rootScope:any, private $location:any, private $timeout:any, private backendSrv:any) { }
private $rootScope:any,
private $location:any,
private $timeout:any,
private backendSrv:any) {
}
next() { next() {
this.$timeout.cancel(this.cancelPromise); this.$timeout.cancel(this.cancelPromise);
...@@ -74,4 +69,4 @@ class PlaylistSrv { ...@@ -74,4 +69,4 @@ class PlaylistSrv {
} }
} }
coreModule.service('playlistSrv', PlaylistSrv) coreModule.service('playlistSrv', PlaylistSrv);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment