diff options
author | Chocobozzz <me@florianbigard.com> | 2022-01-12 15:19:51 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-01-12 15:19:51 +0100 |
commit | f85b5afb7c055b2a0140a2076bf7f58a29195c06 (patch) | |
tree | 8d72d249246573e9babd403d59c85fbc2886d289 | |
parent | 2dd0a8a8fd2fc85180fa3b45c5a6a56d07320ed3 (diff) | |
download | PeerTube-f85b5afb7c055b2a0140a2076bf7f58a29195c06.tar.gz PeerTube-f85b5afb7c055b2a0140a2076bf7f58a29195c06.tar.zst PeerTube-f85b5afb7c055b2a0140a2076bf7f58a29195c06.zip |
Fix typings
-rw-r--r-- | client/src/assets/player/mobile/peertube-mobile-plugin.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/client/src/assets/player/mobile/peertube-mobile-plugin.ts b/client/src/assets/player/mobile/peertube-mobile-plugin.ts index 3c0365e5b..95864c817 100644 --- a/client/src/assets/player/mobile/peertube-mobile-plugin.ts +++ b/client/src/assets/player/mobile/peertube-mobile-plugin.ts | |||
@@ -15,10 +15,10 @@ class PeerTubeMobilePlugin extends Plugin { | |||
15 | private seekAmount = 0 | 15 | private seekAmount = 0 |
16 | 16 | ||
17 | private lastTapEvent: TouchEvent | 17 | private lastTapEvent: TouchEvent |
18 | private tapTimeout: NodeJS.Timeout | 18 | private tapTimeout: ReturnType<typeof setTimeout> |
19 | private newActiveState: boolean | 19 | private newActiveState: boolean |
20 | 20 | ||
21 | private setCurrentTimeTimeout: NodeJS.Timeout | 21 | private setCurrentTimeTimeout: ReturnType<typeof setTimeout> |
22 | 22 | ||
23 | constructor (player: videojs.Player, options: videojs.PlayerOptions) { | 23 | constructor (player: videojs.Player, options: videojs.PlayerOptions) { |
24 | super(player, options) | 24 | super(player, options) |