aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/standalone/player/definitions.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-07-10 18:02:30 +0200
committerChocobozzz <me@florianbigard.com>2018-07-10 18:02:40 +0200
commit902aa3a099638b2198c24c076c61577a8435277b (patch)
treeaa53daa4f071b7f8f2985e61a16c0ded2fcce7cd /client/src/standalone/player/definitions.ts
parent999417328bde0e60cd59318fc1c18672356254ce (diff)
downloadPeerTube-902aa3a099638b2198c24c076c61577a8435277b.tar.gz
PeerTube-902aa3a099638b2198c24c076c61577a8435277b.tar.zst
PeerTube-902aa3a099638b2198c24c076c61577a8435277b.zip
Fix player lint
Diffstat (limited to 'client/src/standalone/player/definitions.ts')
-rw-r--r--client/src/standalone/player/definitions.ts24
1 files changed, 11 insertions, 13 deletions
diff --git a/client/src/standalone/player/definitions.ts b/client/src/standalone/player/definitions.ts
index 6920672a7..7f9ef9b6f 100644
--- a/client/src/standalone/player/definitions.ts
+++ b/client/src/standalone/player/definitions.ts
@@ -1,18 +1,16 @@
1
2export interface EventHandler<T> { 1export interface EventHandler<T> {
3 (ev : T) : void 2 (ev: T): void
4} 3}
5 4
6export type PlayerEventType = 5export type PlayerEventType =
7 'pause' | 'play' | 6 'pause' | 'play' |
8 'playbackStatusUpdate' | 7 'playbackStatusUpdate' |
9 'playbackStatusChange' | 8 'playbackStatusChange' |
10 'resolutionUpdate' 9 'resolutionUpdate'
11;
12 10
13export interface PeerTubeResolution { 11export interface PeerTubeResolution {
14 id : any 12 id: any
15 label : string 13 label: string
16 src : string 14 src: string
17 active : boolean 15 active: boolean
18} \ No newline at end of file 16}