]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/standalone/player/definitions.ts
Translated using Weblate (Polish)
[github/Chocobozzz/PeerTube.git] / client / src / standalone / player / definitions.ts
index 6920672a71f791066d5689ced3971f907ff5d507..afd10541bbf311a02a34777b2d215c172aa07532 100644 (file)
@@ -1,18 +1,14 @@
+export type EventHandler<T> = (ev: T) => void
 
-export interface EventHandler<T> {
-    (ev : T) : void
-}
-
-export type PlayerEventType = 
-    'pause' | 'play' | 
-    'playbackStatusUpdate' | 
-    'playbackStatusChange' | 
-    'resolutionUpdate'
-;
+export type PlayerEventType =
+  'pause' | 'play' |
+  'playbackStatusUpdate' |
+  'playbackStatusChange' |
+  'resolutionUpdate'
 
 export interface PeerTubeResolution {
-    id : any
-    label : string
-    src : string
-    active : boolean
-}
\ No newline at end of file
+  id: any
+  label: string
+  src: string
+  active: boolean
+}