diff options
author | Chocobozzz <me@florianbigard.com> | 2018-07-10 18:02:30 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-07-10 18:02:40 +0200 |
commit | 902aa3a099638b2198c24c076c61577a8435277b (patch) | |
tree | aa53daa4f071b7f8f2985e61a16c0ded2fcce7cd /client/src/standalone/player/definitions.ts | |
parent | 999417328bde0e60cd59318fc1c18672356254ce (diff) | |
download | PeerTube-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.ts | 24 |
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 | |||
2 | export interface EventHandler<T> { | 1 | export interface EventHandler<T> { |
3 | (ev : T) : void | 2 | (ev: T): void |
4 | } | 3 | } |
5 | 4 | ||
6 | export type PlayerEventType = | 5 | export type PlayerEventType = |
7 | 'pause' | 'play' | | 6 | 'pause' | 'play' | |
8 | 'playbackStatusUpdate' | | 7 | 'playbackStatusUpdate' | |
9 | 'playbackStatusChange' | | 8 | 'playbackStatusChange' | |
10 | 'resolutionUpdate' | 9 | 'resolutionUpdate' |
11 | ; | ||
12 | 10 | ||
13 | export interface PeerTubeResolution { | 11 | export 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 | } |