From 15eb9e5b8fe9a29201567ab41f730fd39c1a14b8 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 1 Aug 2022 15:27:49 +0200 Subject: Fix typescript error --- server/lib/live/shared/muxing-session.ts | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'server/lib/live/shared') diff --git a/server/lib/live/shared/muxing-session.ts b/server/lib/live/shared/muxing-session.ts index 55d070c96..310a7026d 100644 --- a/server/lib/live/shared/muxing-session.ts +++ b/server/lib/live/shared/muxing-session.ts @@ -21,16 +21,16 @@ import { buildConcatenatedName } from '../live-utils' import memoizee = require('memoizee') interface MuxingSessionEvents { - 'master-playlist-created': ({ videoId: number }) => void + 'master-playlist-created': (options: { videoId: number }) => void - 'bad-socket-health': ({ videoId: number }) => void - 'duration-exceeded': ({ videoId: number }) => void - 'quota-exceeded': ({ videoId: number }) => void + 'bad-socket-health': (options: { videoId: number }) => void + 'duration-exceeded': (options: { videoId: number }) => void + 'quota-exceeded': (options: { videoId: number }) => void - 'ffmpeg-end': ({ videoId: number }) => void - 'ffmpeg-error': ({ videoId: string }) => void + 'ffmpeg-end': (options: { videoId: number }) => void + 'ffmpeg-error': (options: { videoId: number }) => void - 'after-cleanup': ({ videoId: number }) => void + 'after-cleanup': (options: { videoId: number }) => void } declare interface MuxingSession { -- cgit v1.2.3