X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fangular%2Fvideos%2Fcomponents%2Fwatch%2Fvideos-watch.component.ts;h=3eb005d07b4debd23ca197fa8a646729703fe10f;hb=471bc22f19767c1cb1e7ba7ad0ddf0ff5f0e88f4;hp=6ac2787ed8257fd57696e0c98d858047ec123e1e;hpb=230809efa1e7e81ce60cd65f8b398f01a27d525b;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/angular/videos/components/watch/videos-watch.component.ts b/client/angular/videos/components/watch/videos-watch.component.ts index 6ac2787ed..3eb005d07 100644 --- a/client/angular/videos/components/watch/videos-watch.component.ts +++ b/client/angular/videos/components/watch/videos-watch.component.ts @@ -5,8 +5,8 @@ import { BytesPipe } from 'angular-pipes/src/math/bytes.pipe'; // TODO import it with systemjs declare var WebTorrent: any; -import { Video } from '../../models/video'; -import { VideosService } from '../../services/videos.service'; +import { Video } from '../../video'; +import { VideosService } from '../../videos.service'; @Component({ selector: 'my-video-watch', @@ -22,7 +22,7 @@ export class VideosWatchComponent implements OnInit, CanDeactivate { numPeers: number; loading: boolean = false; - private _interval: number; + private _interval: NodeJS.Timer; private client: any; constructor(