From f85b5afb7c055b2a0140a2076bf7f58a29195c06 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 12 Jan 2022 15:19:51 +0100 Subject: [PATCH] Fix typings --- client/src/assets/player/mobile/peertube-mobile-plugin.ts | 4 ++-- 1 file 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 { private seekAmount = 0 private lastTapEvent: TouchEvent - private tapTimeout: NodeJS.Timeout + private tapTimeout: ReturnType private newActiveState: boolean - private setCurrentTimeTimeout: NodeJS.Timeout + private setCurrentTimeTimeout: ReturnType constructor (player: videojs.Player, options: videojs.PlayerOptions) { super(player, options) -- 2.41.0